|
30 | 30 | #include "py/mphal.h" |
31 | 31 | #include "mimxrt10xx/periph.h" |
32 | 32 |
|
33 | | -LPI2C_Type *mcu_i2c_banks[4] = { LPI2C1, LPI2C2, LPI2C3, LPI2C4 }; |
| 33 | +LPI2C_Type *const mcu_i2c_banks[4] = { LPI2C1, LPI2C2, LPI2C3, LPI2C4 }; |
34 | 34 |
|
35 | 35 | const mcu_periph_obj_t mcu_i2c_sda_list[8] = { |
36 | 36 | PERIPH_PIN(1, 6, kIOMUXC_LPI2C1_SDA_SELECT_INPUT, 0, &pin_GPIO_EMC_03), |
@@ -60,7 +60,7 @@ const mcu_periph_obj_t mcu_i2c_scl_list[8] = { |
60 | 60 | PERIPH_PIN(4, 3, kIOMUXC_LPI2C4_SCL_SELECT_INPUT, 1, &pin_GPIO_SD_B1_02), |
61 | 61 | }; |
62 | 62 |
|
63 | | -LPSPI_Type *mcu_spi_banks[4] = { LPSPI1, LPSPI2, LPSPI3, LPSPI4 }; |
| 63 | +LPSPI_Type *const mcu_spi_banks[4] = { LPSPI1, LPSPI2, LPSPI3, LPSPI4 }; |
64 | 64 |
|
65 | 65 | const mcu_periph_obj_t mcu_spi_sck_list[8] = { |
66 | 66 | PERIPH_PIN(1, 4, kIOMUXC_LPSPI1_SCK_SELECT_INPUT, 0, &pin_GPIO_SD_B0_02), |
@@ -104,7 +104,7 @@ const mcu_periph_obj_t mcu_spi_miso_list[8] = { |
104 | 104 | PERIPH_PIN(4, 4, kIOMUXC_LPSPI2_SDI_SELECT_INPUT, 1, &pin_GPIO_EMC_35), |
105 | 105 | }; |
106 | 106 |
|
107 | | -LPUART_Type *mcu_uart_banks[8] = { LPUART1, LPUART2, LPUART3, LPUART4, LPUART5, LPUART6, LPUART7, LPUART8 }; |
| 107 | +LPUART_Type *const mcu_uart_banks[8] = { LPUART1, LPUART2, LPUART3, LPUART4, LPUART5, LPUART6, LPUART7, LPUART8 }; |
108 | 108 |
|
109 | 109 | const mcu_periph_obj_t mcu_uart_rx_list[16] = { |
110 | 110 | PERIPH_PIN(1, 2, 0, 0, &pin_GPIO_AD_B0_07), |
|
0 commit comments