From bd5887b4cae08dd378c03280e6c3ddafcec729c1 Mon Sep 17 00:00:00 2001 From: Simon Wilks Date: Fri, 25 Jan 2013 10:44:21 +0100 Subject: [PATCH] Move the config param to a more sane location (I hope). --- nuttx/configs/px4fmu/nsh/defconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig index d669da83ab..fd783dec5d 100755 --- a/nuttx/configs/px4fmu/nsh/defconfig +++ b/nuttx/configs/px4fmu/nsh/defconfig @@ -200,6 +200,12 @@ CONFIG_STM32_TIM9=y 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. # @@ -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