circuitpython/ports/atmel-samd/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.c Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
internal_flash.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
internal_flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
port.c Check background pending before sleep 2021-08-19 12:18:13 -07:00
qspi_flash.c Remove MICROPY_PORT_* macros used for never reset 2021-07-15 16:20:04 -07:00
samd21_cpu.s Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
samd51_cpu.s Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
same51_cpu.s atmel-samd: add same51, feather_m4_can 2020-09-08 13:06:45 -05:00
same54_cpu.s atmel-samd: Add support for SAM E54 family MCUs 2020-06-23 10:41:48 -05:00
usb.c codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00