diff options
author | Angus Gratton <angus@redyak.com.au> | 2024-11-06 14:27:01 +1100 |
---|---|---|
committer | Angus Gratton <angus@redyak.com.au> | 2024-11-06 16:08:23 +1100 |
commit | df6b40a87fe3ddcb37cde488ba1a2060625ab737 (patch) | |
tree | 118abf78c49cbc2bb5d35b9f2417773a348396a6 /docs/reference | |
parent | 594670e44623e0635ecf45eb34b0a43f27e04101 (diff) | |
download | micropython-df6b40a87fe3ddcb37cde488ba1a2060625ab737.tar.gz micropython-df6b40a87fe3ddcb37cde488ba1a2060625ab737.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 'docs/reference')
0 files changed, 0 insertions, 0 deletions