Skip to content

Commit 8fd2c98

Browse files
committed
Disable LAN867x PHY by default
1 parent 73a51ea commit 8fd2c98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

boards/MICROLITE/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
#define MICROPY_HW_BOARD_NAME "ESP32 module (microlite)"
22
#define MICROPY_HW_MCU_NAME "ESP32"
3+
4+
// Disable LAN867x Ethernet PHY by default as the required header may not be
5+
// available with all ESP-IDF versions.
6+
#ifndef PHY_LAN867X_ENABLED
7+
#define PHY_LAN867X_ENABLED (0)
8+
#endif

0 commit comments

Comments
 (0)