micropython/ports/mimxrt
robert-hh 49e17c8bb0 mimxrt/machine_uart: Implement uart.flush() and uart.txdone().
uart.flush()

flush() will wait until all characters have been sent.To avoid a
permanent lock, a timeout applies depending on the size of txbuf
and the baud rate.

ret = uart.txdone()

ret is True if no transfer is in progress.
ret is False otherwise.
2022-08-31 00:18:21 +10:00
..
boards
hal
lwip_inc
mbedtls
modules
Makefile ports: Always append to GIT_SUBMODULES. 2022-08-03 00:05:26 +10:00
README.md
board_init.c
dma_manager.c
dma_manager.h
eth.c
eth.h
fatfs_port.c
led.c
led.h
machine_adc.c
machine_bitstream.c
machine_i2c.c
machine_i2s.c
machine_led.c
machine_pin.c
machine_pwm.c
machine_rtc.c
machine_sdcard.c
machine_spi.c
machine_timer.c
machine_uart.c mimxrt/machine_uart: Implement uart.flush() and uart.txdone(). 2022-08-31 00:18:21 +10:00
machine_wdt.c
main.c
mimxrt_flash.c
mimxrt_sdram.c
modmachine.c
modmachine.h
modmimxrt.c
modmimxrt.h
moduos.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
modutime.c
mpconfigport.h all: Remove MICROPY_PY_IO_FILEIO config option. 2022-08-18 11:54:17 +10:00
mphalport.c
mphalport.h
mpnetworkport.c
network_lan.c
pendsv.c
pendsv.h
pin.c
pin.h
qstrdefsport.h
sdcard.c
sdcard.h
systick.c
systick.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, Teensy 4.1, and the MIMXRT1010_EVK, MIMXRT1020_EVK, MIMXRT1050_EVK, MIMXRT1060_EVK and MIMXRT1064_EVK boards.

Features:

  • REPL over USB VCP
  • machine.ADC
  • machine.I2C
  • machine.LED
  • machine.Pin
  • machine.PWM
  • machine.RTC
  • machine.SDCard
  • machine.SPI
  • machine.Signal
  • machine.SoftI2C
  • machine.SoftSPI
  • machine.Timer
  • machine.UART
  • LFS2 file system at the internal Flash
  • SDCard support (not on MIMXRT1010_EVK)
  • Ethernet (not on Teensy 4.0 and MIMXRT1010_EVK)

Known issues:

TODO:

  • More peripherals (Counter, I2S, CAN, etc)
  • More Python options