summaryrefslogtreecommitdiffstatshomepage
path: root/py/stackctrl.c
diff options
context:
space:
mode:
authorGlenn Moloney <glenn.moloney@gmail.com>2024-07-08 17:33:53 +1000
committerDamien George <damien@micropython.org>2024-08-12 16:28:30 +1000
commit288a03625327b025f81bb6d4e7fb76d56343172c (patch)
treeb4c792d383f04774f7b327ecffc6a5d376d0d965 /py/stackctrl.c
parent868d311a2361c9125d70833b8757a859a539e8cc (diff)
downloadmicropython-288a03625327b025f81bb6d4e7fb76d56343172c.tar.gz
micropython-288a03625327b025f81bb6d4e7fb76d56343172c.zip
esp32/network_lan: Ensure LAN MAC address is valid at LAN init.
`get_lan()`: If the ethernet MAC address is uninitialised, set it to the address reserved by the ESP32 for the ETH interface. SPI LAN devices may be initialised with a MAC address of 00:00:00:00:00:00. So check that a valid unicast MAC address has been set (using `LAN.config(mac=...)`) when initialising the LAN interface. Fixes #15425. Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
Diffstat (limited to 'py/stackctrl.c')
0 files changed, 0 insertions, 0 deletions