ota: add ota update capabilities

This commit is contained in:
2026-03-12 10:59:35 +01:00
parent b3485fcb10
commit ee3ec3ac4f
10 changed files with 1118 additions and 3 deletions

View File

@@ -3,9 +3,11 @@ idf_component_register(SRCS "main.c"
"uart_handler.c"
"ethernet_manager.c"
"web_server.c"
"ota_handler.c"
INCLUDE_DIRS "."
REQUIRES esp_driver_gpio esp_driver_uart esp_driver_spi
esp_http_server esp_eth esp_netif lwip spi_flash nvs_flash log)
esp_http_server esp_eth esp_netif lwip spi_flash nvs_flash log
esp_https_ota esp_http_client app_update)
# Embed HTML file
target_add_binary_data(${COMPONENT_TARGET} "html/index.html" TEXT)