aboutsummaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2023-07-28 12:16:05 +1000
committerDamien George <damien@micropython.org>2023-08-15 10:49:33 +1000
commit98fd78437c56efeebe2e38c944f5af0a1a59fe8a (patch)
treea1d6df3baae870047baf453a378c1c8b47012484 /docs/library
parent519c24dd48764f28593112dbeac7e30b8b2a6240 (diff)
esp32: Allow malloc() to allocate from SPIRAM.
Also shrinks the "prefer internal" threshold to 8KB, any allocation larger than this will try PSRAM first. Change the mbedTLS config to use regular malloc() as well, instead of internal only. The default is set to internal-only due to to potential physical security issue of readout via PSRAM on the original ESP32. However, as MicroPython runs from plaintext flash and all other context is in the MP heap of PSRAM then it's hard to see how worsens physical security for MP. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/library')
0 files changed, 0 insertions, 0 deletions