mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
imxrt/serial: Fix uart registration order when no console defined.
* Explicit registration of ttys0 when no console defined * Fixes overwriting registration of lpuart1 on ttys1 when no console on ttys0 * Change regstration logic to check for console assignment * See issue 17116 Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
This commit is contained in:
@@ -761,7 +761,6 @@
|
||||
#define GPIO_LPUART6_RX_2 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_EMC_26_INDEX))
|
||||
#define GPIO_LPUART6_TX_1 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_AD_B0_02_INDEX))
|
||||
#define GPIO_LPUART6_TX_2 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_EMC_25_INDEX))
|
||||
#define GPIO_LPUART6_TX_2 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_EMC_25_INDEX))
|
||||
|
||||
#define GPIO_LPUART7_CTS_1 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_SD_B1_06_INDEX))
|
||||
#define GPIO_LPUART7_RTS_2 (GPIO_PERIPH | GPIO_ALT2 | GPIO_PADMUX(IMXRT_PADMUX_GPIO_SD_B1_07_INDEX))
|
||||
|
||||
+552
-244
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user