diff --git a/configs/stm3210e-eval/README.txt b/configs/stm3210e-eval/README.txt index 33a04ceaa2..f26dbc5d1d 100755 --- a/configs/stm3210e-eval/README.txt +++ b/configs/stm3210e-eval/README.txt @@ -430,13 +430,13 @@ Where is one of the following: =========== ======================= ================================ nsh nsh2 =========== ======================= ================================ - Toolchain: NuttX buildroot for Codesourcery for Windows* - Linux or Cygwin*,** + Toolchain: NuttX buildroot for Codesourcery for Windows * + Linux or Cygwin *,** ----------- ----------------------- -------------------------------- Loader: DfuSe DfuSe ----------- ----------------------- -------------------------------- Serial Debug output: USART1 Debug output: USART1 - Console: NSH output: USART1 NSH output: USART2 + Console: NSH output: USART1 NSH output: USART2 *** ----------- ----------------------- -------------------------------- I2C1 Disabled Enabled =========== ======================= ================================ @@ -445,7 +445,12 @@ Where is one of the following: to set up the correct PATH variable for whichever toolchain you may use. ** Since DfuSe is assumed, this configuration may only work under - Cygwin. + Cygwin without modification. + *** When any other device other than /dev/console is used for a user + interface, (1) linefeeds (\n) will not be expanded to carriage return + / linefeeds \r\n). You will need to configure your terminal program + to account for this. And (2) input is not automatically echoed so + you will have to turn local echo on. ostest: ------ diff --git a/configs/stm3210e-eval/nsh2/defconfig b/configs/stm3210e-eval/nsh2/defconfig index 32b40bce92..f91fe10ee8 100644 --- a/configs/stm3210e-eval/nsh2/defconfig +++ b/configs/stm3210e-eval/nsh2/defconfig @@ -727,7 +727,7 @@ CONFIG_NSH_DISABLESCRIPT=n CONFIG_NSH_DISABLEBG=n CONFIG_NSH_ROMFSETC=n CONFIG_NSH_CONSOLE=y -#CONFIG_NSH_CONDEV="/dev/ttyS1" +CONFIG_NSH_CONDEV="/dev/ttyS1" CONFIG_NSH_TELNET=n CONFIG_NSH_ARCHINIT=y CONFIG_NSH_IOBUFFER_SIZE=512