aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2013-01-25 10:44:21 +0100
committerSimon Wilks <sjwilks@gmail.com>2013-01-25 10:44:21 +0100
commitbd5887b4cae08dd378c03280e6c3ddafcec729c1 (patch)
treecc7a11230ecf51c90037b922483907098232beb2
parent0246842c8854fcb49ffa34bcf46c61f2b7da95b2 (diff)
downloadpx4-firmware-bd5887b4cae08dd378c03280e6c3ddafcec729c1.tar.gz
px4-firmware-bd5887b4cae08dd378c03280e6c3ddafcec729c1.tar.bz2
px4-firmware-bd5887b4cae08dd378c03280e6c3ddafcec729c1.zip
Move the config param to a more sane location (I hope).
-rwxr-xr-xnuttx/configs/px4fmu/nsh/defconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig
index d669da83a..fd783dec5 100755
--- a/nuttx/configs/px4fmu/nsh/defconfig
+++ b/nuttx/configs/px4fmu/nsh/defconfig
@@ -201,6 +201,12 @@ CONFIG_STM32_TIM10=y
CONFIG_STM32_TIM11=y
#
+# Enable single wire support. If this is not defined, then this mode cannot
+# be enabled.
+#
+CONFIG_STM32_USART_SINGLEWIRE=y
+
+#
# We want the flash prefetch on for max performance.
#
STM32_FLASH_PREFETCH=y
@@ -226,8 +232,6 @@ CONFIG_AT24XX_MTD_BLOCKSIZE=256
# CONFIG_SERIAL_CONSOLE_REINIT - re-initializes the console serial port
# immediately after creating the /dev/console device. This is required
# if the console serial port has RX DMA enabled.
-# CONFIG_STM32_USART_SINGLEWIRE - Serial driver supports single wire mode. If
-# this is not defined, then this mode cannot be enabled.
#
# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the
# console and ttys0 (default is the USART1).
@@ -242,7 +246,6 @@ CONFIG_AT24XX_MTD_BLOCKSIZE=256
#
CONFIG_SERIAL_TERMIOS=y
CONFIG_SERIAL_CONSOLE_REINIT=y
-CONFIG_STM32_USART_SINGLEWIRE=y
CONFIG_USART1_SERIAL_CONSOLE=y
CONFIG_USART2_SERIAL_CONSOLE=n