aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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