d2860b58b0
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. |
||
---|---|---|
.. | ||
asf4@84f56af132 | ||
asf4_conf | ||
bindings/samd | ||
boards | ||
common-hal | ||
freetouch@b6859a349e | ||
modules | ||
peripherals@a7e39c4d01 | ||
sd_mmc | ||
supervisor | ||
tools | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
README.rst | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
eic_handler.c | ||
eic_handler.h | ||
fatfs_port.c | ||
ld_defines.c | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
reset.c | ||
reset.h | ||
samd_peripherals_config.h | ||
shared_timers.c | ||
shared_timers.h | ||
timer_handler.c | ||
timer_handler.h |
README.rst
SAMD21 and SAMD51 ================== This port supports many development boards that utilize SAMD21 and SAMD51 chips. See https://circuitpython.org/downloads for all supported boards. Building -------- For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/ Debugging --------- For debugging instructions see this guide: https://learn.adafruit.com/debugging-the-samd21-with-gdb Port Specific modules --------------------- .. toctree:: ../../shared-bindings/samd/index