diff options
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_serial.c | 1 | ||||
-rw-r--r-- | nuttx/configs/open1788/README.txt | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_serial.c b/nuttx/arch/arm/src/stm32/stm32_serial.c index de9b813e0..c04bcc9ee 100644 --- a/nuttx/arch/arm/src/stm32/stm32_serial.c +++ b/nuttx/arch/arm/src/stm32/stm32_serial.c @@ -2280,7 +2280,6 @@ void up_serialinit(void) for (i = 0; i < STM32_NUSART; i++) { - /* Don't create a device for the console - we did that above */ if ((uart_devs[i] == 0) || (uart_devs[i]->dev.isconsole)) diff --git a/nuttx/configs/open1788/README.txt b/nuttx/configs/open1788/README.txt index f2f20810f..d10931224 100644 --- a/nuttx/configs/open1788/README.txt +++ b/nuttx/configs/open1788/README.txt @@ -162,8 +162,10 @@ Serial Console may be connected to your computer via an external RS-232 driver or via the WaveShare USB ISP/VCOM module. - As an option, UART1 can also be used for the serial console by reconfiguring - as follows: + As an option, UART1 can also be used for the serial console. You might want, + to do this, for example, if you use UART0 for the ISP function and you want + to use a different UART for console output. UART1 can be configured as the + serial console by changing the configuration as follows: System Type: CONFIG_LPC17_UART0=n : Disable UART0 if it is no longer used |