summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstringio.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-11-06 14:27:01 +1100
committerDamien George <damien@micropython.org>2024-11-18 23:27:13 +1100
commit72799f99739f99496fd82b06b0c55ad7f58d2290 (patch)
tree5e0e5c199438b37cc0306683246e71e6160ec7cb /py/objstringio.c
parent164c5492481cb0d66e13f068818f9e2bbfa4dad6 (diff)
downloadmicropython-72799f99739f99496fd82b06b0c55ad7f58d2290.tar.gz
micropython-72799f99739f99496fd82b06b0c55ad7f58d2290.zip
esp32: Workaround native code execution crash on ESP32-S2.
Seemingly ESP-IDF incorrectly marks RTC FAST memory region as MALLOC_CAP_EXEC on ESP32-S2 when it isn't. This memory is the lowest priority, so it only is returned if D/IRAM is exhausted. Apply this workaround to treat the allocation as failed if it gives us non-executable RAM back, rather than crashing. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/objstringio.c')
0 files changed, 0 insertions, 0 deletions