mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
mimxrt: Update port to work with new nxp_driver v2.10.
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.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include "modmachine.h"
|
||||
#include "dma_manager.h"
|
||||
|
||||
#include "clock_config.h"
|
||||
#include CLOCK_CONFIG_H
|
||||
#include "fsl_iomuxc.h"
|
||||
#include "fsl_dmamux.h"
|
||||
#include "fsl_edma.h"
|
||||
|
||||
Reference in New Issue
Block a user