Complete ESP32 partition expander and adaptive LoRa OTA pacing
This commit is contained in:
1 parent
e370db7f28
commit
a74a09da56
33 files changed
+986
-66
No files matched your search
@@ -860,13 +860,28 @@ build_flags =
|
||||
build_src_filter = ${Heltec_lora32_v4.build_src_filter}
|
||||
+<../examples/kiss_modem/>
|
||||
|
||||
; Self-hosted partition migration receiver for a legacy V4 1.25 MiB slot.
|
||||
; This role keeps Wi-Fi recovery and receives the exact Full repeater over LoRa.
|
||||
[env:heltec_v4_partition_expander]
|
||||
extends = Heltec_lora32_v4
|
||||
board = heltec_v4_migrator
|
||||
board_build.partitions = default.csv
|
||||
board_build.flash_mode = dio
|
||||
board_upload.maximum_size = 1310720
|
||||
build_src_filter = ${Heltec_lora32_v4.build_src_filter}
|
||||
+<../examples/partition_expander/*.cpp>
|
||||
build_flags = ${Heltec_lora32_v4.build_flags}
|
||||
-D MESH_MIN_RUNTIME_HEAP=100352
|
||||
-D MOTA_MIGRATION_TARGET_ID=0xe792a051
|
||||
; Pipeline verified OTA blocks across one request turn. The adaptive window
|
||||
; starts at one and grows only after clean flights, then shrinks on loss.
|
||||
-D OTA_FETCH_PIPELINE=4
|
||||
lib_deps = ${Heltec_lora32_v4.lib_deps}
|
||||
${esp32_ota.lib_deps}
|
||||
|
||||
; One-time Wi-Fi-only migration bridge for legacy Heltec V4/V4.3 OLED
|
||||
; repeaters that still use Arduino's 1.25 MiB OTA slots. It is deliberately
|
||||
; linked against default.csv so the existing browser updater can install it.
|
||||
; On first boot it stages /identity/_main.id in unchanged NVS, makes a
|
||||
; CRC-verified copy of legacy SPIFFS, copies itself to app0 when necessary,
|
||||
; then publishes default_16MB. It restores the identity after the larger
|
||||
; SPIFFS region initializes and exposes a browser updater for the full image.
|
||||
; repeaters that still use Arduino's 1.25 MiB OTA slots. It is linked against
|
||||
; default.csv so the existing browser updater can install it.
|
||||
[env:heltec_v4_partition_migrator]
|
||||
platform = platformio/espressif32@6.11.0
|
||||
board = heltec_v4_migrator
|
||||
|
||||
Reference in new issue
Block a user