Description
Port, board and/or hardware
ESP32 - FREENOVE - ESP32-WROVER--DEV
MicroPython version
Test done with MP 1.25.0
Reproduction
- Paste this code in the MP console
import network
lan = network.LAN(mdc=8, mdio=7, phy_type=network.PHY_LAN8720, phy_addr=0,power=None)
Expected behaviour
Expected: To see an ethernet init error since there is no ETH hardware in the device.
Works fine when the ETH hardware is present.
Observed behaviour
MicroPython v1.25.0 on 2025-04-15; Generic ESP32 module with SPIRAM with ESP32
Type "help()" for more information.
import network
lan = network.LAN(mdc=8, mdio=7, phy_type=network.PHY_LAN8720, phy_addr=0,power=None)
ets Jun 8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4892
ho 0 tail 12 room 4
load:0x40078000,len:14896
load:0x40080400,len:4
load:0x40080404,len:3372
entry 0x400805b0
W (184) boot.esp32: PRO CPU has been reset by WDT.
W (184) boot.esp32: WDT reset info: PRO CPU PC=0x400814f1
W (185) boot.esp32: WDT reset info: APP CPU PC=0x400814f1
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree