conditional_comps

This commit is contained in:
marc 2025-04-24 07:46:46 +02:00
parent e8b2be0023
commit 9f9ff956c9

View File

@ -1,8 +1,14 @@
set(EXTRA_COMPONENT_DIRS ../components) set(EXTRA_COMPONENT_DIRS ../components)
set(comps heap nvs_flash meteofrance communication esp_netif image_downloader fatfs sdmmc vfs littlefs wifi_logger protocol_examples_common app_update esp_https_ota )
if(${IDF_TARGET} STREQUAL "esp32p4")
list(APPEND comps bsp_extra esp32_p4_function_ev_board)
endif()
idf_component_register(SRC_DIRS . fonts idf_component_register(SRC_DIRS . fonts
INCLUDE_DIRS "." INCLUDE_DIRS "."
REQUIRES heap nvs_flash meteofrance communication esp_netif image_downloader fatfs sdmmc vfs littlefs wifi_logger protocol_examples_common app_update esp_https_ota bsp_extra esp32_p4_function_ev_board REQUIRES ${comps}
EMBED_TXTFILES ${project_dir}/main/ca_cert.pem) EMBED_TXTFILES ${project_dir}/main/ca_cert.pem)