micropython/ports/mimxrt
robert-hh 0f048a5a2a mimxrt/machine_spi: Allow a setting of -1 for cs in the constructor.
In that case, no Pin will be configured for the CS signal, even if it is
internally still generated.  That setting allows to use any pin for CS,
which then must be controlled by the Python script.

Also make the default cs=-1 to match other ports (software CS).
2022-09-13 18:35:48 +10:00
..
boards mimxrt: Format the firmware image to match the new teensy loader. 2022-09-13 18:35:48 +10:00
hal mimxrt: Format the firmware image to match the new teensy loader. 2022-09-13 18:35:48 +10:00
lwip_inc
mbedtls mimxrt/mbedtls: Use core-provided tracked alloc instead of custom funcs. 2022-05-05 10:31:50 +10:00
modules
Makefile mimxrt: Format the firmware image to match the new teensy loader. 2022-09-13 18:35:48 +10:00
README.md
board_init.c mimxrt/Makefile: Modify handling of SDRAM option. 2022-06-24 17:58:27 +10:00
dma_manager.c
dma_manager.h
eth.c mimxrt: Update port to work with new nxp_driver v2.10. 2022-06-03 10:48:49 +10:00
eth.h
fatfs_port.c
led.c
led.h
machine_adc.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
machine_bitstream.c
machine_i2c.c mimxrt: Update port to work with new nxp_driver v2.10. 2022-06-03 10:48:49 +10:00
machine_i2s.c mimxrt: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
machine_led.c
machine_pin.c mimxrt: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
machine_pwm.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
machine_rtc.c
machine_sdcard.c
machine_spi.c mimxrt/machine_spi: Allow a setting of -1 for cs in the constructor. 2022-09-13 18:35:48 +10:00
machine_timer.c mimxrt: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
machine_uart.c mimxrt/machine_uart: Drop a few commented lines about TX ring buffer. 2022-09-13 18:35:48 +10:00
machine_wdt.c
main.c
mimxrt_flash.c
mimxrt_sdram.c
modmachine.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modmachine.h
modmimxrt.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
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 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
mpconfigport.h all: Remove MICROPY_PY_IO_FILEIO config option. 2022-08-18 11:54:17 +10:00
mphalport.c mimxrt/mphalport: Fix strict aliasing error with unique id. 2022-06-02 12:50:14 +10:00
mphalport.h
mpnetworkport.c
network_lan.c
pendsv.c
pendsv.h
pin.c
pin.h
qstrdefsport.h
sdcard.c mimxrt: Update port to work with new nxp_driver v2.10. 2022-06-03 10:48:49 +10:00
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