mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
esp_eth: SPI Ethernet modules initialization simplification
This commit is contained in:
@@ -51,5 +51,9 @@ endif()
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ${include}
|
||||
REQUIRES "esp_event" # For using "ESP_EVENT_DECLARE_BASE" in header file
|
||||
REQUIRES esp_event # For using "ESP_EVENT_DECLARE_BASE" in header file
|
||||
PRIV_REQUIRES ${priv_requires})
|
||||
|
||||
if(CONFIG_ETH_USE_SPI_ETHERNET)
|
||||
idf_component_optional_requires(PUBLIC driver)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user