a0432ed9cb
The nxp_driver v2.10 allows for/requires some changes to the code: - Remove some part of pwm_backlog.*, which is provided by the lib now. - Change eth.c: the newer versions have additional parameters of the library versions. - Change sdcard.c: use TransferBlocking instead of TransferNonblocking. - Add some support for the MIMXRT1176 device. - Set the clocks for UART, I2C, Timer. - Integrate the I2S module and fix a rebase error. - Use blocking transfer only for SPI. It's faster and interferes less with other modules. - Use the clock_config.c files of library v2.8.5. The mimxrt files keeps the clock_config.c files from Verson 2.8.5. With clock_config.c from v2.10, the boards do not work. Refactoring of the clock set-up is on the to-do list. - Enable expiry timers for UART, I2C and SPI, avoiding a stall in library code. - The clock_config.* files are moved from the board-specific directories to the boards directory and given a MCU related name.
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