mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
ethernet: can build without enable esp32 emac
Closes https://github.com/espressif/esp-idf/issues/3770
This commit is contained in:
@@ -13,7 +13,7 @@ set(SOC_SRCS "cpu_util.c"
|
||||
"soc_memory_layout.c"
|
||||
"spi_periph.c")
|
||||
|
||||
if(NOT BOOTLOADER_BUILD)
|
||||
if(NOT BOOTLOADER_BUILD AND CONFIG_ETH_USE_ESP32_EMAC)
|
||||
list(APPEND SOC_SRCS "emac_hal.c")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user