summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f4discovery
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-28 17:43:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-28 17:43:55 +0000
commit00aaf1187f47fd3e9a2801b6468d1f382819981c (patch)
tree76d575d4d2acd9b74dcfbabb60727d85444fb733 /nuttx/configs/stm32f4discovery
parente530202ed1c43f468e236add225e51080120ea56 (diff)
downloadpx4-nuttx-00aaf1187f47fd3e9a2801b6468d1f382819981c.tar.gz
px4-nuttx-00aaf1187f47fd3e9a2801b6468d1f382819981c.tar.bz2
px4-nuttx-00aaf1187f47fd3e9a2801b6468d1f382819981c.zip
Misc SYSLOG and STM32 serial fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5576 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery')
-rw-r--r--nuttx/configs/stm32f4discovery/README.txt32
1 files changed, 1 insertions, 31 deletions
diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt
index e9c0e81c2..378509be8 100644
--- a/nuttx/configs/stm32f4discovery/README.txt
+++ b/nuttx/configs/stm32f4discovery/README.txt
@@ -1254,40 +1254,10 @@ Where <subdir> is one of the following:
CONFIG_CDCACM=y : The CDC/ACM driver must be built
CONFIG_CDCACM_CONSOLE=y : Enable the CDC/ACM USB console.
- However, that configuration does not work. It fails early probably because
- of some dependency on /dev/console before the USB connection is established.
-
- But there is a work around for this that works better (but has some side
- effects). The following configuration will also create a NSH USB console
- but this version will will use /dev/console. Instead, it will use the
- normal /dev/ttyACM0 USB serial device for the console:
-
- CONFIG_STM32_OTGFS=y : STM32 OTG FS support
- CONFIG_USART2_SERIAL_CONSOLE=n : Disable the USART2 console
- CONFIG_USBDEV=y : USB device support must be enabled
- CONFIG_CDCACM=y : The CDC/ACM driver must be built
- CONFIG_CDCACM_CONSOLE=n : Don't use the CDC/ACM USB console.
- CONFIG_NSH_USBCONSOLE=y : Instead use some other USB device for the console
-
- The particular USB device that is used is:
-
- CONFIG_NSH_USBCONDEV="/dev/ttyACM0"
-
- NOTE 1: When you first start the USB console, you have hit ENTER a few
+ NOTE: When you first start the USB console, you have hit ENTER a few
times before NSH starts. The logic does this to prevent sending USB data
before there is anything on the host side listening for USB serial input.
- Now the side effects:
-
- NOTE 2. When any other device other than /dev/console is used for a user
- interface, linefeeds (\n) will not be expanded to carriage return /
- linefeeds (\r\n). You will need to set your terminal program to account
- for this.
-
- NOTE 3: /dev/console still exists and still refers to the serial port. So
- you can still use certain kinds of debug output (see include/debug.h, all
- of the interfaces based on lib_lowprintf will work in this configuration).
-
9. USB OTG FS Host Support. The following changes will enable support for
a USB host on the STM32F4Discovery, including support for a mass storage
class driver: