I tried to download an open street map tile from their server using https on ESP32.
mbedTLS failed with an out of memory. It seems that the following sdkconfig options fix the problem:
Probably there is some sort of pre-allocated somewhere.
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
(I actually selected SPI ram option).
Shoud be changed to be the default? How to make this work both with regular and PSRAM enabled ESP32?
I tried to download an open street map tile from their server using https on ESP32.
mbedTLS failed with an out of memory. It seems that the following sdkconfig options fix the problem:
Probably there is some sort of pre-allocated somewhere.
(I actually selected SPI ram option).
Shoud be changed to be the default? How to make this work both with regular and PSRAM enabled ESP32?