circuitpython/ports/raspberrypi/supervisor
Scott Shawcroft d2860b58b0
Check background pending before sleep
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.

Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
..
internal_flash_root_pointers.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
internal_flash.c Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
internal_flash.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
port.c Check background pending before sleep 2021-08-19 12:18:13 -07:00
rp2_cpu.s Add initial RP2040 support 2021-01-20 19:16:56 -08:00
usb.c rp2040 use normal usb_irq_handler() 2021-03-04 21:29:04 +07:00