diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-06-30 11:42:20 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-12 16:20:21 +1000 |
| commit | 662dc8602bf0ab99332748d178b0e950189df9e7 (patch) | |
| tree | 49c96fd03c8db0039626b24d372fcf0dfba94bd3 /py/lexer.c | |
| parent | daff597753e699bb9f485e69dea98f58b0c1432d (diff) | |
rp2: Make atomic sections suspend the other core (if active).
When a flash write/erase is in progress, we need to ensure that the
other core cannot be using XIP.
This also implements MICROPY_BEGIN_ATOMIC_SECTION as a full mutex, which
is necessary as it's used to syncronise access to things like the scheduler
queue.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/lexer.c')
0 files changed, 0 insertions, 0 deletions
