Files
led-controller/scripts/c6-ota/mcu_host/main/CMakeLists.txt
T
jimmyandClaude Opus 5.5 ba8e160aee scripts: P4-Nano probe app and C6 esp-hosted OTA tools
p4-probe identifies the P4 and its C6 over esp-hosted SDIO. c6-ota holds the
C6 coprocessor build and the two host updaters (3.1 and the 2.x one that moved
the factory C6 firmware to esp-hosted 3.1). Also the pending graphify output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:52:12 +13:00

15 lines
624 B
CMake

# Simple component selection based on Kconfig
if(CONFIG_EH_USE_LEGACY_API)
set(_main_src "legacy/main.c")
else()
set(_main_src "main.c")
endif()
# main.c #if-selects the header of the chosen OTA method's component. Kconfig
# values are NOT available during component-requirements expansion, so require
# all three method components unconditionally — main.c picks the one to use.
idf_component_register(SRCS "${_main_src}"
INCLUDE_DIRS "."
REQUIRES esp_hosted console esp_timer
PRIV_REQUIRES esp_app_format ota_https ota_littlefs ota_partition)