Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
Memory allocation strategy of mbedTLS should be better to be set at "Default alloc Mode" (i.e. CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC =y) for future builds to public.
Use cases
Reference https://www.esp32.com/viewtopic.php?t=38369
I have a project which is too big for ESP32's internal ram and therefore PSRAM is installed and used. I noticed that after I played some audio files via ESP32-audioI2S, further requests to https websites by HTTPClient could fail instantly after being called (i.e. no indication the fault is at server's end, nor the ESP32 had actually started a handshake to server). I believe the fail was due to low in internal memory.
In gist, Memory allocation strategy of mbedTLS should be better to be set at "Default alloc Mode" (i.e. CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC =y).
Alternatives
No response
Additional context
No response