Files
Matthias Blankertz 9fdf5586f5 rp2/modmachine: Use atomic section macros.
To avoid undefined references to
mp_thread_begin_atomic_section/mp_thread_end_atomic_section, replace
them with the MICROPY_BEGIN_ATOMIC_SECTION / MICROPY_END_ATOMIC_SECTION
macros. That way, the support for building with MICROPY_PY_THREAD
disabled introduced by commit efa54c27b9 ("rp2/mpconfigport: Allow
MICROPY_PY_THREAD to be disabled by a board.") is useable again.

Fixes commit 19844b4983 ("rp2/modmachine: Prevent lock-up when
lightsleep() called within thread.").

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-05-31 19:00:13 +02:00
..
2024-03-07 16:25:17 +11:00
2024-05-23 20:47:17 -05:00
2024-03-29 17:59:29 +11:00