summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-04-30 15:44:04 +0200
committerDamien George <damien@micropython.org>2023-05-09 16:13:51 +1000
commitd2a02dcee3ae4d3bc4d29629264cbee9501d1c05 (patch)
tree8dedf5b32ffd82c2bbbe9271a483292c9680d92c
parentfacc51f3ea6acc83fcc54effe5d4826ef07f4e4f (diff)
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.
-rw-r--r--ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h2
-rw-r--r--ports/mimxrt/mpconfigport.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h b/ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h
index 73055526a..eff9e9c2c 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 f4732da39..4482e5496 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