mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +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,5 +1,8 @@
|
||||
idf_component_register(SRCS "advanced_https_ota_example.c" "ble_helper/bluedroid_gatts.c" "ble_helper/nimble_gatts.c"
|
||||
"ble_helper/ble_api.c"
|
||||
INCLUDE_DIRS "." "./ble_helper/include/"
|
||||
PRIV_REQUIRES esp_http_client app_update esp_https_ota
|
||||
nvs_flash esp_netif esp_wifi efuse bt
|
||||
protocomm
|
||||
# Embed the server root certificate into the final binary
|
||||
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem)
|
||||
|
Reference in New Issue
Block a user