Stream application binaries to the inactive OTA slot via POST /api/system/ota, validate the esp_app_desc project name in core, and cancel rollback after a healthy network boot through OtaService::confirmBoot(). Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
222 B
CMake
10 lines
222 B
CMake
idf_component_register(
|
|
SRCS
|
|
"src/OtaService.cpp"
|
|
"src/OtaError.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES core app_update esp_partition
|
|
)
|
|
|
|
target_compile_features(${COMPONENT_LIB} PUBLIC cxx_std_23)
|