diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2024-12-04 12:30:25 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-10 21:57:40 +1100 |
commit | 82e382a399b07e0af64516749c12882fc0804a6d (patch) | |
tree | 92fb1be48fded4e4834e359a6c1023c4b17434f7 /docs/esp32/tutorial/peripheral_access.rst | |
parent | 9441ce6e3c8296ca8e6a5e0ddbd94ee5c9f4d7d6 (diff) | |
download | micropython-82e382a399b07e0af64516749c12882fc0804a6d.tar.gz micropython-82e382a399b07e0af64516749c12882fc0804a6d.zip |
esp32/mpconfigport: Use the appropriate wait-for-interrupt opcode.
When threading is disabled, the pending events handling code would wait
for an incoming interrupt once there's no more work to do. This bit of
code was Xtensa-specific and wouldn't compile on a RISC-V based MCU.
This commit provides the RISC-V equivalent to that part of the code,
allowing to make threadless MicroPython builds on RISC-V based MCUs.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/esp32/tutorial/peripheral_access.rst')
0 files changed, 0 insertions, 0 deletions