circuitpython/ports
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
..
atmel-samd shrink circuitplayground_express_crickit 2022-04-26 17:51:47 -04:00
broadcom Start of USB host API 2022-03-07 18:07:25 -08:00
cxd56 Canonical C style for half_duplex = true/false 2022-02-08 23:13:22 -05:00
espressif test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04:00
litex Board definition clean up 2022-03-21 17:58:43 -07:00
mimxrt10xx [mimxrt (teensy) Allow Any GPIO pin for RS485 pin 2022-04-27 11:26:08 -07:00
nrf test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04:00
raspberrypi Merge pull request #6312 from dhalbert/adjust-neopixel-timings 2022-04-26 13:18:47 -04:00
stm test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04:00
unix Merge branch 'main' into uzlib-module 2022-04-03 11:48:37 -05:00