circuitpython/ports/mimxrt10xx/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
..
cpu.S Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
flexspi_nor_flash_ops.c run code formatting script 2021-03-15 19:27:36 +05:30
internal_flash_root_pointers.h Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
internal_flash.c run code formatting script 2021-03-15 19:27:36 +05:30
internal_flash.h Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00
port.c Check background pending before sleep 2021-08-19 12:18:13 -07:00
serial.c run code formatting script 2021-03-15 19:27:36 +05:30
usb.c run code formatting script 2021-03-15 19:27:36 +05:30