circuitpython/ports/mimxrt10xx
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
..
boards add board.LED wherever possible 2021-07-26 19:57:12 -04:00
common-hal Move OneWire to `onewireio` from `busio` 2021-08-12 10:47:14 -07:00
linking Check background pending before sleep 2021-08-19 12:18:13 -07:00
peripherals/mimxrt10xx codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
sdk@8363ff7bed Correct MIMXRT sdk version 2020-03-27 15:40:17 -07:00
supervisor Check background pending before sleep 2021-08-19 12:18:13 -07:00
.gitignore Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
Makefile Check background pending before sleep 2021-08-19 12:18:13 -07:00
README.md Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
background.c run code formatting script 2021-03-15 19:27:36 +05:30
background.h supervisor: factor supervisor_background_tasks from sundry ports 2020-07-15 11:49:44 -05:00
board.h Add `board_deinit` for use with sleep 2020-12-08 10:52:25 -08:00
fatfs_port.c run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.h run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.mk Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
mphalport.c run code formatting script 2021-03-15 19:27:36 +05:30
mphalport.h run code formatting script 2021-03-15 19:27:36 +05:30
qstrdefsport.h Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
reset.c Refine iMX RT memory layout and add three boards 2020-01-17 17:36:08 -08:00
reset.h mimxrt10xx: Add required header for NORETURN definition 2020-09-28 18:56:01 -05:00

README.md

CircuitPython Port To The NXP i.MX RT10xx Series

This is a port of CircuitPython to the i.MX RT10xx series of chips.