Skip to content

Commit 7b1529f

Browse files
committed
Changed path to $ENV{IDF_PATH}
1 parent 320e64a commit 7b1529f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

boards/MICROLITE/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ endforeach()
2727
configure_file(${CMAKE_BINARY_DIR}/sdkconfig.combined.in ${CMAKE_BINARY_DIR}/sdkconfig.combined COPYONLY)
2828
set(SDKCONFIG_DEFAULTS ${CMAKE_BINARY_DIR}/sdkconfig.combined)
2929

30-
# === Add this block to pick up esp_eth/phy as an extra component ===
31-
# so the build system will scan it, register its include dirs, sources, etc.
30+
# === Pull in the esp_eth component from your ESP-IDF install ===
31+
# This makes CMake scan the ESP-IDF esp_eth/phy code (including
32+
# esp_eth_phy_lan867x.h) and register it automatically.
3233
set(EXTRA_COMPONENT_DIRS
33-
"${MICROPY_PORT_DIR}/components/esp_eth" # pulls in the esp_eth component tree
34+
"$ENV{IDF_PATH}/components/esp_eth"
3435
)
3536
# ===================================================================
3637

0 commit comments

Comments
 (0)