change(examples): explicitly specify component dependencies for examples

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>
This commit is contained in:
Frantisek Hrbata
2024-09-24 14:22:10 +02:00
parent 496e9cdff8
commit ad15109daa
216 changed files with 285 additions and 58 deletions

View File

@@ -1,2 +1,3 @@
idf_component_register(SRCS "temp_sensor_main.c"
PRIV_REQUIRES esp_driver_tsens
INCLUDE_DIRS ".")