platformio / platform-espressif32

Espressif 32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif32
Apache License 2.0
855 stars 570 forks source link

Allocate mbedTLS to spiram #1355

Closed NaxGH closed 2 months ago

NaxGH commented 2 months ago

How do I allocate mbedTLS to external memory (PSRAM)? In IDF framework you can set mbedTLS memory allocation strategy to External Memory in menuconfig It is possible to allocate mbedTLS to spiram in Arduino framework?

Jason2866 commented 2 months ago

Wrong place to ask general questions. This github is for issues with Platformio itself. You can ask for help here https://community.platformio.org/tag/espressif32

valeros commented 2 months ago

Hi @NaxGH, the underlying IDF settings in the Arduino framework are static and cannot be changed. As a workaround you can try to use Arduino as a component, here is an example.