esp32/boards/sdkconfig.base: Resize SSL output buffer from 16 to 4kiB.

The IDF heap is more fragmented with IDF 4 and mbedtls cannot allocate
enough RAM with 16+16kiB for both in and out buffers, so reduce output
buffer size.

Fixes issue #5303.
pull/1/head
Jim Mussared 2019-11-07 22:00:01 +11:00 committed by Damien George
parent 799b6d1e0c
commit 71299d3224
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ CONFIG_LWIP_PPP_SUPPORT=y
CONFIG_LWIP_PPP_PAP_SUPPORT=y
CONFIG_LWIP_PPP_CHAP_SUPPORT=y
# SSL
# Use 4kiB output buffer instead of default 16kiB (because IDF heap is fragmented in 4.0)
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
# v3.3-only (renamed in 4.0)
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=n