kopia lustrzana https://github.com/micropython/micropython
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. |
||
---|---|---|
.. | ||
boards | ||
hal | ||
lwip_inc | ||
mbedtls | ||
modules | ||
Makefile | ||
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 | ||
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 | ||
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