mirror of
https://codeberg.org/opentrafficmap/its-g5-receiver-firmware.git
synced 2026-07-30 20:45:39 +00:00
OTA more
This commit is contained in:
@@ -7,12 +7,15 @@ idf_component_register(
|
||||
"ethernet.c"
|
||||
"events.c"
|
||||
"mqtt.c"
|
||||
"ota.c"
|
||||
"sdcard.c"
|
||||
"spi.c"
|
||||
PRIV_REQUIRES
|
||||
app_trace
|
||||
app_update
|
||||
console
|
||||
esp_eth
|
||||
esp_https_ota
|
||||
esp_netif
|
||||
esp_wifi
|
||||
fatfs
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "config.h"
|
||||
#include "ethernet.h"
|
||||
#include "mqtt.h"
|
||||
#include "ota.h"
|
||||
#include "sdcard.h"
|
||||
#include "spi.h"
|
||||
|
||||
@@ -129,6 +130,7 @@ void app_main(void)
|
||||
console_init();
|
||||
|
||||
sniffer_init();
|
||||
ota_init();
|
||||
|
||||
/* Register commands */
|
||||
#if CONFIG_ENABLE_SD
|
||||
@@ -141,6 +143,8 @@ void app_main(void)
|
||||
|
||||
register_reboot();
|
||||
|
||||
register_ota_cmd();
|
||||
|
||||
// start console REPL
|
||||
ESP_ERROR_CHECK(esp_console_start_repl(repl));
|
||||
}
|
||||
|
||||
@@ -856,8 +856,9 @@ CONFIG_BOOTLOADER_PROJECT_VER=1
|
||||
#
|
||||
# Application Rollback
|
||||
#
|
||||
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
|
||||
# default:
|
||||
# CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set
|
||||
# CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK is not set
|
||||
# end of Application Rollback
|
||||
|
||||
#
|
||||
@@ -3645,7 +3646,7 @@ CONFIG_MBEDTLS_AES_C=y
|
||||
# default:
|
||||
# CONFIG_MBEDTLS_CAMELLIA_C is not set
|
||||
# default:
|
||||
CONFIG_MBEDTLS_ARIA_C=y
|
||||
# CONFIG_MBEDTLS_ARIA_C is not set
|
||||
# default:
|
||||
# CONFIG_MBEDTLS_DES_C is not set
|
||||
# default:
|
||||
@@ -3751,7 +3752,7 @@ CONFIG_MBEDTLS_SHA384_C=y
|
||||
# default:
|
||||
CONFIG_MBEDTLS_SHA512_C=y
|
||||
# default:
|
||||
CONFIG_MBEDTLS_SHA3_C=y
|
||||
# CONFIG_MBEDTLS_SHA3_C is not set
|
||||
# default:
|
||||
CONFIG_MBEDTLS_ROM_MD5=y
|
||||
# end of Hash functions
|
||||
@@ -4192,7 +4193,8 @@ CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
|
||||
# Deprecated options for backward compatibility
|
||||
# CONFIG_APP_BUILD_TYPE_ELF_RAM is not set
|
||||
# CONFIG_NO_BLOBS is not set
|
||||
# CONFIG_APP_ROLLBACK_ENABLE is not set
|
||||
CONFIG_APP_ROLLBACK_ENABLE=y
|
||||
# CONFIG_APP_ANTI_ROLLBACK is not set
|
||||
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
|
||||
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
|
||||
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
|
||||
|
||||
Reference in New Issue
Block a user