micropython/ports/mimxrt
Damien George 8f4c108025 all: Remove MICROPY_PY_IO_FILEIO config option.
Since commit e65d1e69e8 there is no longer an
io.FileIO class, so this option is no longer needed.

This option also controlled whether or not files supported being opened in
binary mode (eg 'rb'), and could, if disabled, lead to confusion as to why
opening a file in binary mode silently did the wrong thing (it would just
open in text mode if MICROPY_PY_IO_FILEIO was disabled).

The various VFS implementations (POSIX, FAT, LFS) were the only places
where enabling this option made a difference, and in almost all cases where
one of these filesystems were enabled, MICROPY_PY_IO_FILEIO was also
enabled.  So it makes sense to just unconditionally enable this feature
(ability to open a file in binary mode) in all cases, and so just remove
this config option altogether.  That makes configuration simpler and means
binary file support always exists (and opening a file in binary mode is
arguably more fundamental than opening in text mode, so if anything should
be configurable then it should be the ability to open in text mode).

Signed-off-by: Damien George <damien@micropython.org>
2022-08-18 11:54:17 +10:00
..
boards mimxrt: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
hal drivers,ports: Fix a few typos in comments. 2022-07-23 23:24:24 +10:00
lwip_inc
mbedtls
modules
Makefile ports: Always append to GIT_SUBMODULES. 2022-08-03 00:05:26 +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
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
machine_rtc.c
machine_sdcard.c
machine_spi.c mimxrt: Update port to work with new nxp_driver v2.10. 2022-06-03 10:48:49 +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: Fix an inconsistency for UART.init() arg handling. 2022-06-07 18:21:46 +10:00
machine_wdt.c
main.c
mimxrt_flash.c
mimxrt_sdram.c
modmachine.c
modmachine.h
modmimxrt.c
modmimxrt.h
moduos.c
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 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