circuitpython/ports/mimxrt10xx
KurtE 73f6b48676 [mimxrt (teensy) Allow Any GPIO pin for RS485 pin
The existing code was setup that allowed you to specify an RTS
pin to be used as an RS485 direction pin, however there are no
RTS pins that are exposed on any of the Teensy 4.x boards.

Instead Arduino code base allowed you to specify any GPIO pin to
work instead.  So I added the code in to facilitate this.

In addition the alternative code to wrap your own GPIO pin set high and low
around call(s) to uart.write() will not currently work, unless maybe you
fudge it and add your own delays as the write will return after the last
byte was pushed onto the UART’s hardware FIFO queue and as such if you
then immediately set the IO pin low, it will corrupt your output stream.

The code I added detects that you are setup to use the RS485 pin and
before it returns will wait for the UART’s Transfer complete status flag
to be set.
2022-04-27 11:26:08 -07:00
..
boards Update based on PR Comments 2022-04-14 06:45:16 -04:00
common-hal [mimxrt (teensy) Allow Any GPIO pin for RS485 pin 2022-04-27 11:26:08 -07:00
linking Fix end of line 2022-04-07 15:52:01 -07:00
peripherals/mimxrt10xx Update based on PR Comments 2022-04-14 06:45:16 -04:00
sdk@8363ff7bed Correct MIMXRT sdk version 2020-03-27 15:40:17 -07:00
supervisor Merge pull request #6287 from KurtE/mimxrt_pwm 2022-04-25 09:02:40 -04:00
.gitignore Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
Makefile Start of USB host API 2022-03-07 18:07:25 -08: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 Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
mpconfigport.h run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.mk Centralize LONGINT_IMPL handling 2021-12-27 10:21:47 -06:00
mphalport.c mimxrt1011: enable -Werror=missing-prototypes 2021-11-12 19:30:47 -06:00
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.