mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Currently, several examples do not explicitly state their component dependencies, relying instead on the default behavior that includes all registered components and commonly required ones in the build. Explicitly adding component dependencies can reduce build time when set(COMPONENTS main) is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
4 lines
152 B
CMake
4 lines
152 B
CMake
idf_component_register(SRCS "main.c"
|
|
PRIV_REQUIRES nvs_flash spi_flash nvs_sec_provider
|
|
INCLUDE_DIRS ".")
|