feat: implement OTA update functionality with web interface; update partition settings and build configuration

This commit is contained in:
2025-02-18 11:42:52 +01:00
parent 175d614d1f
commit 3c783c9844
5 changed files with 335 additions and 11 deletions

View File

@ -34,9 +34,8 @@ board_build.filesystem = spiffs
; Update partition settings
board_build.partitions = partitions.csv
board_upload.flash_size = 4MB
; Remove these as they're now defined in partitions.csv
; board_build.spiffs.partition = 2M
; board_build.spiffs.upload_size = 2M
board_build.flash_mode = dio
board_upload.flash_freq = "40m"
build_flags =
-Os
@ -45,8 +44,15 @@ build_flags =
-DNDEBUG
-mtext-section-literals
'-D VERSION="${common.version}"'
-DESPASYNCHTTPUPDATESERVER_PRETTY
-DASYNCWEBSERVER_REGEX
-DCORE_DEBUG_LEVEL=1
-DCONFIG_ARDUHAL_LOG_COLORS=1
-DOTA_DEBUG=1
-DARDUINO_RUNNING_CORE=1
-DARDUINO_EVENT_RUNNING_CORE=1
-DCONFIG_OPTIMIZATION_LEVEL_DEBUG=1
-DCONFIG_ESP32_PANIC_PRINT_REBOOT
extra_scripts =
scripts/extra_script.py
pre:scripts/pre_build.py ; wird zuerst ausgeführt