mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
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:
@@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "temp_sensor_main.c"
|
||||
PRIV_REQUIRES esp_driver_tsens
|
||||
INCLUDE_DIRS ".")
|
||||
|
Reference in New Issue
Block a user