mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-15 19:34:03 +00:00
fix(build): clean up dependencies on driver component
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
idf_component_register(SRCS "cmd_system.c" "cmd_system_common.c"
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES console spi_flash driver esp_driver_gpio)
|
||||
REQUIRES console spi_flash esp_driver_uart esp_driver_gpio)
|
||||
|
||||
if(CONFIG_SOC_DEEP_SLEEP_SUPPORTED OR CONFIG_SOC_LIGHT_SLEEP_SUPPORTED)
|
||||
target_sources(${COMPONENT_LIB} PRIVATE cmd_system_sleep.c)
|
||||
|
||||
Reference in New Issue
Block a user