summaryrefslogtreecommitdiff
path: root/extmod/modtls_mbedtls.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-07-25 13:22:00 +1000
committerAngus Gratton <angus@redyak.com.au>2025-07-30 10:51:29 +1000
commit77c9eb7795da13dfe499f45f19e867362799b38a (patch)
treed34dab5e6a6e3cd0d45dd94d30d58cd36f6fb35f /extmod/modtls_mbedtls.c
parentca9916968c06437fa39549b0995ceb811209f994 (diff)
esp32: Add "Free RAM" optimisation config flags.
This is necessary for ESP32-C2 Wi-Fi & BT to work reliably (and for TLS to work at all). On IDF 5.4.2 the free static RAM goes from 60KB to 100KB, and there will also be a reduction in lwIP & Wi-Fi memory use at runtime. The performance trade-off seems low for most use cases, although it will probably be significant for certain combinations of load (i.e. heavy TCP/IP, heavy BT throughput, and some peripheral driver functions). Added as a set of config flags because this is potentially useful on other SoCs where the goal is to maximise RAM available for MicroPython. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'extmod/modtls_mbedtls.c')
0 files changed, 0 insertions, 0 deletions