From b493dddb976d5a9ac3c68df4940292eecf7d2a16 Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 6 Jul 2026 10:53:33 +0200 Subject: [PATCH] [SYS] esp32-arduino-libs: bump 0.1.6 -> 0.1.7 for no-PSRAM TLS (MBEDTLS_DYNAMIC_BUFFER) (#2335) The 0.1.7 bundle enables MBEDTLS_DYNAMIC_BUFFER (dynamic TX/RX TLS record buffers) by disabling the unused DTLS proto that was gating it. mbedTLS now sizes the ~32 KB record buffers per-record and frees them between records instead of holding them for the whole session lifetime. On no-PSRAM ESP32 (e.g. the Theengs Plug) this is the difference between MQTT TLS (8883) being viable or not: steady-state free heap goes from ~36 KB to ~71 KB (minmem ~18 KB -> ~30 KB), the boot HTTPS update-check and the HA discovery burst no longer OOM/crash-loop, and flash drops ~19 KB from removing the DTLS code. Boards with PSRAM (Theengs Bridge) are unaffected. Bundle: theengs/esp32-arduino-lib-builder 0.1.6 -> 0.1.7 (libs-only rebuild, same IDF v5.5.4 / arduino-esp32 pin; no platform-espressif32 bump). Co-authored-by: Claude Opus 4.8 (1M context) --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 2c8fc8d..062ba89 100644 --- a/platformio.ini +++ b/platformio.ini @@ -181,7 +181,7 @@ extra_scripts = pre:scripts/add_mlongcalls.py [com] esp8266_platform = espressif8266@4.2.1 esp32_platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.39/platform-espressif32.zip -esp32_platform_packages = framework-arduinoespressif32-libs @ https://github.com/theengs/esp32-arduino-lib-builder/releases/download/0.1.6/esp32-arduino-libs.tar.gz +esp32_platform_packages = framework-arduinoespressif32-libs @ https://github.com/theengs/esp32-arduino-lib-builder/releases/download/0.1.7/esp32-arduino-libs.tar.gz esp32_solo_platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.02.00/platform-espressif32.zip atmelavr_platform = atmelavr@3.3.0