diff options
author | Damien George <damien@micropython.org> | 2024-06-07 11:43:06 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-06-08 08:43:49 +1000 |
commit | 80a4f632ee812de9f2b22e88abb36ca36d230ec0 (patch) | |
tree | f246d0429b33c06099ad4da36f5bb577637665e8 /docs/esp8266/tutorial | |
parent | 3c8089d1b10683ee31ddbaeebd0b18c47bf6d09d (diff) |
rp2/cyw43_configport: Make cyw43_delay_ms() a busy loop.
Currently, `cyw43_delay_ms()` calls `mp_hal_delay_ms()` which uses PendSV
to set up a timer and wait for an interrupt, using wfe. But in the cyw43
initialisation stage PendSV is disabled and so this delay suspends on the
wfe instruction for an indefinite amount of time.
Work around this by changing the implementation of `cyw43_delay_ms()` to a
busy loop.
Fixes issue #15220.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions