Correct several errors in STM32 serial port configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3744 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e3302fa71b
commit
cf319c7fd8
@ -430,13 +430,13 @@ Where <subdir> 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 <subdir> 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:
|
||||
------
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user