kopia lustrzana https://github.com/micropython/micropython
689476c576
The implementation uses the LPUARTx devices. Up to 8 UARTs can be used, given that the pins are accessible. E.g. 8 on Teensy 4.1, 5 on MIMXRT1020_EVK. For Tennsy 4.0 and 4.1 the UART numbers are as printed on the pinout 1..N. The MIMXRT10xx-EVK boards have only one UART named, which gets the number 1. All other UART are assigned to different Pins: MIMXRT1010-EVK: D0/D1 UART 1 D6/D7 UART 2 A0/D4 UART 3 MIMXRT1020-EVK: D0/D1 UART 1 D6/D9 UART 2 D10/D12 UART 3 D14/D15 UART 4 A0/A1 UART 5 MIMXRT1050-EVK, MIMXRT1060-EVK, MIMXRT1064-EVK: D0/D1 UART 1 D7/D6 UART 2 D8/D9 UART 3 A1/A0 UART 4 |
||
---|---|---|
.. | ||
boards | ||
hal | ||
modules | ||
Makefile | ||
README.md | ||
board_init.c | ||
led.c | ||
led.h | ||
machine_adc.c | ||
machine_led.c | ||
machine_pin.c | ||
machine_rtc.c | ||
machine_timer.c | ||
machine_uart.c | ||
main.c | ||
mimxrt_flash.c | ||
modmachine.c | ||
modmachine.h | ||
modmimxrt.c | ||
modmimxrt.h | ||
moduos.c | ||
modutime.c | ||
mpconfigport.h | ||
mphalport.c | ||
mphalport.h | ||
pin.c | ||
pin.h | ||
qstrdefsport.h | ||
ticks.c | ||
ticks.h | ||
tusb_config.h | ||
tusb_port.c |
README.md
Port of MicroPython to NXP iMX RT 10xx
Currently supports Teensy 4.0 and the i.MX RT1010 EVK board.
Features:
- REPL over USB VCP
- machine.Pin
Known issues:
- pyboard.py doesn't work with files larger than 64 bytes
- machine.Pin class currently does not support GPIOMUX option of i.MX RT101x variants
TODO:
- Enable TCM
- Peripherals (LED, Timers, etc)