mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +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:
@@ -3,4 +3,5 @@
|
||||
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
||||
idf_component_register(SRCS "https_request_example_main.c" "time_sync.c"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_REQUIRES esp-tls esp_wifi esp_timer nvs_flash
|
||||
EMBED_TXTFILES server_root_cert.pem local_server_cert.pem)
|
||||
|
Reference in New Issue
Block a user