From d2a02dcee3ae4d3bc4d29629264cbee9501d1c05 Mon Sep 17 00:00:00 2001 From: robert-hh Date: Sun, 30 Apr 2023 15:44:04 +0200 Subject: [PATCH] mimxrt: Add missing UART defintion and remove obsolete config. Changes in this commit: - Add a missing UART defintion for MIMXRT1010_EVK. - Remove an obsolete line from mpconfigport.h. --- ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h | 2 +- ports/mimxrt/mpconfigport.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h b/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h index 73055526a0..eff9e9c2cd 100644 --- a/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h +++ b/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h @@ -20,7 +20,7 @@ #define IOMUX_TABLE_UART \ { IOMUXC_GPIO_10_LPUART1_TXD }, { IOMUXC_GPIO_09_LPUART1_RXD }, \ { 0 }, { 0 }, \ - { 0 }, { 0 }, \ + { IOMUXC_GPIO_08_LPUART3_TXD }, { IOMUXC_GPIO_AD_07_LPUART3_RXD }, \ { IOMUXC_GPIO_AD_02_LPUART4_TXD }, { IOMUXC_GPIO_AD_01_LPUART4_RXD }, #define MICROPY_HW_SPI_INDEX { 1 } diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index f4732da397..4482e54960 100644 --- a/ports/mimxrt/mpconfigport.h +++ b/ports/mimxrt/mpconfigport.h @@ -182,8 +182,6 @@ extern const struct _mp_obj_type_t network_lan_type; MICROPY_HW_NIC_ETH \ MICROPY_BOARD_NETWORK_INTERFACES \ -#define MICROPY_HW_PIT_NUM_CHANNELS 3 - #ifndef MICROPY_BOARD_ROOT_POINTERS #define MICROPY_BOARD_ROOT_POINTERS #endif