fix(build): clean up dependencies on driver component

This commit is contained in:
Ivan Grokhotkov
2024-09-15 11:22:51 +02:00
parent 5e056de1e7
commit 68e9bcbf1e
30 changed files with 41 additions and 55 deletions

View File

@@ -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)