Skip to content

Commit f8cb004

Browse files
authored
Merge pull request #3 from MATTYGILO/codex/fix-missing-esp_eth_phy_lan867x.h-file
Fix build by disabling LAN867x PHY
2 parents 73a51ea + 8fd2c98 commit f8cb004

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)