Skip to content

Commit f088870

Browse files
committed
Appending IDF_COMPONENTS
1 parent 7b1529f commit f088870

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

boards/MICROLITE/CMakeLists.txt

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,9 @@ 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-
# === 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.
33-
set(EXTRA_COMPONENT_DIRS
34-
"$ENV{IDF_PATH}/components/esp_eth"
35-
)
36-
# ===================================================================
37-
38-
# Include main IDF cmake file and define the project.
30+
# ——————————————————————————————————————————————————————————————
31+
# Pull in the ethernet driver too
32+
list(APPEND IDF_COMPONENTS "esp_eth")
33+
3934
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
40-
project(micropython)
35+
project(micropython)

0 commit comments

Comments
 (0)