15 lines
723 B
CMake
15 lines
723 B
CMake
idf_component_register(SRC_DIRS "."
|
|
PRIV_INCLUDE_DIRS "." "../../OTA" "${ESP_MATTER_PATH}/examples/common/utils"
|
|
PRIV_REQUIRES app_update esp_http_client
|
|
esp_wifi esp_event esp_netif esp_timer nvs_flash
|
|
esp_matter esp_matter_console
|
|
device button app_reset)
|
|
|
|
if (CONFIG_ENABLE_SET_CERT_DECLARATION_API)
|
|
target_add_binary_data(${COMPONENT_TARGET} "certification_declaration/certification_declaration.der" BINARY)
|
|
endif()
|
|
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H")
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "../../OTA/OtaManager.cpp")
|