fix(ota): bypass 64KB flash block erase, increase WDT timeouts, and place encoder table in DRAM
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m11s

This commit is contained in:
2026-09-12 15:52:12 +02:00
parent c3bc42fe94
commit 6b8e8f3e8d
5 changed files with 40 additions and 2 deletions

View File

@@ -27,8 +27,16 @@ CONFIG_JD_SZBUF=512
CONFIG_JD_FORMAT_RGB565=y
CONFIG_JD_FASTDECODE_32BIT=y
# Flash Chip Driver Optimization
# Flash Chip Driver Optimization (Boya & Winbond)
CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP=y
CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE=y
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=2
# Watchdog Timeouts for Flash Erase & OTA Operations
CONFIG_ESP_INT_WDT_TIMEOUT_MS=1000
CONFIG_ESP_TASK_WDT_TIMEOUT_S=15
# mbedTLS Dynamic Buffers & Memory Optimization (Vital for ESP32 without PSRAM)
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y