File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,9 @@ endforeach()
2727configure_file (${CMAKE_BINARY_DIR} /sdkconfig.combined.in ${CMAKE_BINARY_DIR} /sdkconfig.combined COPYONLY )
2828set (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+
3934include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
40- project (micropython)
35+ project (micropython)
You can’t perform that action at this time.
0 commit comments