From 3af2d60dc4690e32c5529d0d442e4d45577cd2c4 Mon Sep 17 00:00:00 2001 From: Ben Nicholson Date: Fri, 2 Oct 2026 19:43:07 +1000 Subject: [PATCH] mbedTLS allocations in PSRAM (internal heap with a Spotify session) Co-Authored-By: Claude Opus 5.5 --- sdkconfig.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index befdaa3..c2b7792 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -36,3 +36,6 @@ CONFIG_COMPILER_CXX_EXCEPTIONS=y # Tremor (bell): keep it out of the link. HLS only needs AAC. # CONFIG_AUDIO_DECODER_VORBIS_SUPPORT is not set # CONFIG_AUDIO_SIMPLE_DEC_OGG_SUPPORT is not set + +# TLS buffers/contexts in PSRAM (saves internal heap with Spotify/HLS sessions) +CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y