summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-04 15:28:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-04 15:28:56 +0000
commitcc40e89b3b02463da86d57e225fda95e745c779b (patch)
tree0453a5ab519367fc7fce607bc9bad010d8342b0c /nuttx
parentc2e050b010291298bee7f99143afdbac5c8058cd (diff)
downloadpx4-nuttx-cc40e89b3b02463da86d57e225fda95e745c779b.tar.gz
px4-nuttx-cc40e89b3b02463da86d57e225fda95e745c779b.tar.bz2
px4-nuttx-cc40e89b3b02463da86d57e225fda95e745c779b.zip
Kconfig changes + back out part of last check-in: The 2STOP setting must be integer 0/1, not boolean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5086 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/Kconfig24
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig36
-rw-r--r--nuttx/arch/mips/src/pic32mx/Kconfig36
-rw-r--r--nuttx/configs/amber/hello/defconfig4
-rwxr-xr-xnuttx/configs/avr32dev1/nsh/defconfig6
-rwxr-xr-xnuttx/configs/avr32dev1/ostest/defconfig6
-rw-r--r--nuttx/configs/c5471evm/httpd/defconfig4
-rw-r--r--nuttx/configs/c5471evm/nettest/defconfig4
-rw-r--r--nuttx/configs/c5471evm/nsh/defconfig4
-rw-r--r--nuttx/configs/c5471evm/ostest/defconfig4
-rw-r--r--nuttx/configs/compal_e88/nsh_highram/defconfig4
-rw-r--r--nuttx/configs/compal_e99/nsh_compalram/defconfig4
-rw-r--r--nuttx/configs/compal_e99/nsh_highram/defconfig4
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/defconfig4
-rw-r--r--nuttx/configs/ea3131/nsh/defconfig2
-rw-r--r--nuttx/configs/ea3131/ostest/defconfig2
-rw-r--r--nuttx/configs/ea3131/pgnsh/defconfig2
-rw-r--r--nuttx/configs/ea3131/usbserial/defconfig2
-rw-r--r--nuttx/configs/ea3131/usbstorage/defconfig2
-rw-r--r--nuttx/configs/ea3152/ostest/defconfig2
-rw-r--r--nuttx/configs/eagle100/httpd/defconfig4
-rw-r--r--nuttx/configs/eagle100/nettest/defconfig4
-rw-r--r--nuttx/configs/eagle100/nsh/defconfig4
-rw-r--r--nuttx/configs/eagle100/nxflat/defconfig4
-rw-r--r--nuttx/configs/eagle100/ostest/defconfig4
-rw-r--r--nuttx/configs/eagle100/thttpd/defconfig4
-rw-r--r--nuttx/configs/ekk-lm3s9b96/nsh/defconfig6
-rw-r--r--nuttx/configs/ekk-lm3s9b96/ostest/defconfig6
-rw-r--r--nuttx/configs/ez80f910200kitg/ostest/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/dhcpd/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/httpd/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/nettest/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/nsh/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/ostest/defconfig4
-rw-r--r--nuttx/configs/ez80f910200zco/poll/defconfig4
-rw-r--r--nuttx/configs/hymini-stm32v/buttons/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/nsh/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nsh2/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nx/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nxlines/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/usbserial/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/usbstorage/defconfig10
-rw-r--r--nuttx/configs/lincoln60/nsh/defconfig8
-rw-r--r--nuttx/configs/lincoln60/ostest/defconfig8
-rw-r--r--nuttx/configs/lm3s6432-s2e/nsh/defconfig6
-rw-r--r--nuttx/configs/lm3s6432-s2e/ostest/defconfig6
-rwxr-xr-xnuttx/configs/lm3s6965-ek/nsh/defconfig6
-rwxr-xr-xnuttx/configs/lm3s6965-ek/nx/defconfig6
-rwxr-xr-xnuttx/configs/lm3s6965-ek/ostest/defconfig6
-rwxr-xr-xnuttx/configs/lm3s8962-ek/nsh/defconfig6
-rwxr-xr-xnuttx/configs/lm3s8962-ek/nx/defconfig6
-rwxr-xr-xnuttx/configs/lm3s8962-ek/ostest/defconfig6
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/defconfig8
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/nsh/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/nx/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig8
-rw-r--r--nuttx/configs/m68332evb/defconfig4
-rw-r--r--nuttx/configs/mbed/hidkbd/defconfig8
-rwxr-xr-xnuttx/configs/mbed/nsh/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/composite/defconfig4
-rw-r--r--nuttx/configs/mcu123-lpc214x/nsh/defconfig4
-rw-r--r--nuttx/configs/mcu123-lpc214x/ostest/defconfig4
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbserial/defconfig4
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbstorage/defconfig4
-rw-r--r--nuttx/configs/micropendous3/hello/defconfig2
-rw-r--r--nuttx/configs/mirtoo/nsh/defconfig4
-rw-r--r--nuttx/configs/mirtoo/nxffs/defconfig4
-rw-r--r--nuttx/configs/mirtoo/ostest/defconfig4
-rw-r--r--nuttx/configs/mx1ads/ostest/defconfig6
-rwxr-xr-xnuttx/configs/ne64badge/ostest/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/nettest/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/nsh/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/ostest/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/poll/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/thttpd/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/udp/defconfig4
-rw-r--r--nuttx/configs/ntosd-dm320/uip/defconfig4
-rwxr-xr-xnuttx/configs/nucleus2g/nsh/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/ostest/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/usbstorage/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ftpc/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/hidkbd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nettest/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nsh/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nx/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ostest/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/thttpd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbstorage/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/wlan/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc2378/nsh/defconfig4
-rwxr-xr-xnuttx/configs/olimex-lpc2378/ostest/defconfig4
-rw-r--r--nuttx/configs/olimex-stm32-p107/nsh/defconfig10
-rw-r--r--nuttx/configs/olimex-stm32-p107/ostest/defconfig10
-rwxr-xr-xnuttx/configs/olimex-strp711/nettest/defconfig8
-rw-r--r--nuttx/configs/olimex-strp711/nsh/defconfig8
-rw-r--r--nuttx/configs/olimex-strp711/ostest/defconfig8
-rw-r--r--nuttx/configs/pcblogic-pic32mx/nsh/defconfig4
-rw-r--r--nuttx/configs/pcblogic-pic32mx/ostest/defconfig4
-rw-r--r--nuttx/configs/pic32-starterkit/nsh/defconfig12
-rw-r--r--nuttx/configs/pic32-starterkit/nsh2/defconfig12
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/defconfig12
-rw-r--r--nuttx/configs/pic32mx7mmb/nsh/defconfig12
-rw-r--r--nuttx/configs/pic32mx7mmb/ostest/defconfig12
-rw-r--r--nuttx/configs/qemu-i486/nsh/defconfig8
-rwxr-xr-xnuttx/configs/sam3u-ek/knsh/defconfig10
-rwxr-xr-xnuttx/configs/sam3u-ek/nsh/defconfig10
-rwxr-xr-xnuttx/configs/sam3u-ek/nx/defconfig10
-rwxr-xr-xnuttx/configs/sam3u-ek/ostest/defconfig10
-rwxr-xr-xnuttx/configs/sam3u-ek/touchscreen/defconfig10
-rw-r--r--nuttx/configs/skp16c26/ostest/defconfig6
-rwxr-xr-xnuttx/configs/stm3210e-eval/RIDE/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/buttons/defconfig10
-rwxr-xr-xnuttx/configs/stm3210e-eval/composite/defconfig10
-rwxr-xr-xnuttx/configs/stm3210e-eval/nsh/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/nsh2/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/nx/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/nxconsole/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/nxlines/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/nxtext/defconfig10
-rwxr-xr-xnuttx/configs/stm3210e-eval/ostest/defconfig10
-rw-r--r--nuttx/configs/stm3210e-eval/pm/defconfig10
-rwxr-xr-xnuttx/configs/stm3210e-eval/usbserial/defconfig10
-rwxr-xr-xnuttx/configs/stm3210e-eval/usbstorage/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/dhcpd/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/nettest/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/nsh/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/nsh2/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/nxwm/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/ostest/defconfig10
-rw-r--r--nuttx/configs/stm3220g-eval/telnetd/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/dhcpd/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/nettest/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/nsh/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/nsh2/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/nxconsole/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/nxwm/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/ostest/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/telnetd/defconfig10
-rw-r--r--nuttx/configs/stm3240g-eval/webserver/defconfig10
-rw-r--r--nuttx/configs/stm32f4discovery/nsh/defconfig10
-rw-r--r--nuttx/configs/stm32f4discovery/nxlines/defconfig10
-rw-r--r--nuttx/configs/stm32f4discovery/ostest/defconfig10
-rw-r--r--nuttx/configs/stm32f4discovery/pm/defconfig10
-rw-r--r--nuttx/configs/sure-pic32mx/nsh/defconfig4
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/defconfig4
-rw-r--r--nuttx/configs/sure-pic32mx/usbnsh/defconfig4
-rw-r--r--nuttx/configs/teensy/hello/defconfig2
-rwxr-xr-xnuttx/configs/teensy/nsh/defconfig2
-rwxr-xr-xnuttx/configs/teensy/usbstorage/defconfig2
-rw-r--r--nuttx/configs/ubw32/nsh/defconfig4
-rw-r--r--nuttx/configs/ubw32/ostest/defconfig4
-rw-r--r--nuttx/configs/us7032evb1/nsh/defconfig4
-rw-r--r--nuttx/configs/us7032evb1/ostest/defconfig4
-rwxr-xr-xnuttx/configs/vsn/nsh/defconfig10
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/defconfig4
-rw-r--r--nuttx/configs/z16f2800100zcog/pashello/defconfig4
-rw-r--r--nuttx/configs/z8encore000zco/ostest/defconfig4
-rw-r--r--nuttx/configs/z8f64200100kit/ostest/defconfig4
-rw-r--r--nuttx/drivers/serial/Kconfig24
166 files changed, 614 insertions, 614 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/Kconfig b/nuttx/arch/arm/src/lpc43xx/Kconfig
index 920b601c4..68d705e3e 100644
--- a/nuttx/arch/arm/src/lpc43xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc43xx/Kconfig
@@ -331,10 +331,10 @@ config USART0_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART0_2STOP
- bool "USART0 two stop bits"
- default n
+ int "USART0 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -380,10 +380,10 @@ config UART1_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART1_2STOP
- bool "UART1 two stop bits"
- default n
+ int "UART1 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -429,10 +429,10 @@ config USART2_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART2_2STOP
- bool "USART2 two stop bits"
- default n
+ int "USART2 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -478,10 +478,10 @@ config USART3_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART3_2STOP
- bool "USART3 two stop bits"
- default n
+ int "USART3 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index c3130864c..695fe8e94 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/arch/arm/src/stm32/Kconfig
@@ -1462,10 +1462,10 @@ config USART1_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART1_2STOP
- bool "USART1 two stop bits"
- default n
+ int "USART1 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config USART1_RXDMA
bool "USART1 Rx DMA"
@@ -1518,10 +1518,10 @@ config USART2_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART2_2STOP
- bool "USART2 two stop bits"
- default n
+ int "USART2 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config USART2_RXDMA
bool "USART2 Rx DMA"
@@ -1574,10 +1574,10 @@ config USART3_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART3_2STOP
- bool "USART3 two stop bits"
- default n
+ int "USART3 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config USART3_RXDMA
bool "USART3 Rx DMA"
@@ -1630,10 +1630,10 @@ config UART4_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART4_2STOP
- bool "UART4 two stop bits"
- default n
+ int "UART4 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config UART4_RXDMA
bool "UART4 Rx DMA"
@@ -1686,10 +1686,10 @@ config UART5_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART5_2STOP
- bool "UART5 two stop bits"
- default n
+ int "UART5 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config UART5_RXDMA
bool "UART5 Rx DMA"
@@ -1742,10 +1742,10 @@ config USART6_PARITY
0=no parity, 1=odd parity, 2=even parity
config USART6_2STOP
- bool "USART6 two stop bits"
- default n
+ int "USART6 two stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config USART6_RXDMA
bool "USART6 Rx DMA"
diff --git a/nuttx/arch/mips/src/pic32mx/Kconfig b/nuttx/arch/mips/src/pic32mx/Kconfig
index 5c17f72c1..7c2c9bb23 100644
--- a/nuttx/arch/mips/src/pic32mx/Kconfig
+++ b/nuttx/arch/mips/src/pic32mx/Kconfig
@@ -946,10 +946,10 @@ config UART1_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART1_2STOP
- bool "UART1 2 stop bits"
- default n
+ int "UART1 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -993,10 +993,10 @@ config UART2_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART2_2STOP
- bool "UART2 2 stop bits"
- default n
+ int "UART2 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -1040,10 +1040,10 @@ config UART3_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART3_2STOP
- bool "UART3 2 stop bits"
- default n
+ int "UART3 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -1087,10 +1087,10 @@ config UART4_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART4_2STOP
- bool "UART4 2 stop bits"
- default n
+ int "UART4 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -1134,10 +1134,10 @@ config UART5_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART5_2STOP
- bool "UART5 2 stop bits"
- default n
+ int "UART5 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
@@ -1181,10 +1181,10 @@ config UART6_PARITY
0=no parity, 1=odd parity, 2=even parity
config UART6_2STOP
- bool "UART6 2 stop bits"
- default n
+ int "UART6 2 stop bits"
+ default 0
---help---
- Two stop bits
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
endmenu
diff --git a/nuttx/configs/amber/hello/defconfig b/nuttx/configs/amber/hello/defconfig
index 55b37bd9b..a6b572825 100644
--- a/nuttx/configs/amber/hello/defconfig
+++ b/nuttx/configs/amber/hello/defconfig
@@ -93,7 +93,7 @@ CONFIG_USART0_RXBUFSIZE=256
CONFIG_USART0_BAUD=38400
CONFIG_USART0_BITS=8
CONFIG_USART0_PARITY=0
-CONFIG_USART0_2STOP=n
+CONFIG_USART0_2STOP=0
CONFIG_USART1_SERIAL_CONSOLE=n
CONFIG_USART1_TXBUFSIZE=256
@@ -101,7 +101,7 @@ CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART1_BAUD=38400
CONFIG_USART1_BITS=8
CONFIG_USART1_PARITY=0
-CONFIG_USART1_2STOP=n
+CONFIG_USART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/avr32dev1/nsh/defconfig b/nuttx/configs/avr32dev1/nsh/defconfig
index bffd38f3d..dbb562eae 100755
--- a/nuttx/configs/avr32dev1/nsh/defconfig
+++ b/nuttx/configs/avr32dev1/nsh/defconfig
@@ -125,9 +125,9 @@ CONFIG_USART0_PARITY=0
CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig
index b022b25a3..6d5aa4d08 100755
--- a/nuttx/configs/avr32dev1/ostest/defconfig
+++ b/nuttx/configs/avr32dev1/ostest/defconfig
@@ -125,9 +125,9 @@ CONFIG_USART0_PARITY=0
CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/c5471evm/httpd/defconfig b/nuttx/configs/c5471evm/httpd/defconfig
index 1b3298f93..adbd97d6d 100644
--- a/nuttx/configs/c5471evm/httpd/defconfig
+++ b/nuttx/configs/c5471evm/httpd/defconfig
@@ -67,8 +67,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
#
# C5471 Ethernet Driver settings
diff --git a/nuttx/configs/c5471evm/nettest/defconfig b/nuttx/configs/c5471evm/nettest/defconfig
index 8bf39e9d1..af9266863 100644
--- a/nuttx/configs/c5471evm/nettest/defconfig
+++ b/nuttx/configs/c5471evm/nettest/defconfig
@@ -75,8 +75,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
#
# C5471 Ethernet Driver settings
diff --git a/nuttx/configs/c5471evm/nsh/defconfig b/nuttx/configs/c5471evm/nsh/defconfig
index d952f9415..a0a2264e4 100644
--- a/nuttx/configs/c5471evm/nsh/defconfig
+++ b/nuttx/configs/c5471evm/nsh/defconfig
@@ -67,8 +67,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
#
# C5471 Ethernet Driver settings
diff --git a/nuttx/configs/c5471evm/ostest/defconfig b/nuttx/configs/c5471evm/ostest/defconfig
index 56bd14bc7..5d3d70a22 100644
--- a/nuttx/configs/c5471evm/ostest/defconfig
+++ b/nuttx/configs/c5471evm/ostest/defconfig
@@ -67,8 +67,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
#
# C5471 Ethernet Driver settings
diff --git a/nuttx/configs/compal_e88/nsh_highram/defconfig b/nuttx/configs/compal_e88/nsh_highram/defconfig
index a4660ccda..30287a80d 100644
--- a/nuttx/configs/compal_e88/nsh_highram/defconfig
+++ b/nuttx/configs/compal_e88/nsh_highram/defconfig
@@ -68,8 +68,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
CONFIG_STDIO_LINE_BUFFER=y
#
diff --git a/nuttx/configs/compal_e99/nsh_compalram/defconfig b/nuttx/configs/compal_e99/nsh_compalram/defconfig
index 4fa607b37..a52e2aaf0 100644
--- a/nuttx/configs/compal_e99/nsh_compalram/defconfig
+++ b/nuttx/configs/compal_e99/nsh_compalram/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
CONFIG_STDIO_LINE_BUFFER=y
#
diff --git a/nuttx/configs/compal_e99/nsh_highram/defconfig b/nuttx/configs/compal_e99/nsh_highram/defconfig
index 752656975..e5f997ebf 100644
--- a/nuttx/configs/compal_e99/nsh_highram/defconfig
+++ b/nuttx/configs/compal_e99/nsh_highram/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART_IRDA_BITS=8
CONFIG_UART_MODEM_BITS=8
CONFIG_UART_IRDA_PARITY=0
CONFIG_UART_MODEM_PARITY=0
-CONFIG_UART_IRDA_2STOP=n
-CONFIG_UART_MODEM_2STOP=n
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
CONFIG_STDIO_LINE_BUFFER=y
#
diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig
index 68976ae8c..3a6faab74 100755
--- a/nuttx/configs/demo9s12ne64/ostest/defconfig
+++ b/nuttx/configs/demo9s12ne64/ostest/defconfig
@@ -77,7 +77,7 @@ CONFIG_SCI0_RXBUFSIZE=32
CONFIG_SCI0_BAUD=115200
CONFIG_SCI0_BITS=8
CONFIG_SCI0_PARITY=0
-CONFIG_SCI0_2STOP=n
+CONFIG_SCI0_2STOP=0
CONFIG_SCI1_SERIAL_CONSOLE=n
CONFIG_SCI1_TXBUFSIZE=32
@@ -85,7 +85,7 @@ CONFIG_SCI1_RXBUFSIZE=32
CONFIG_SCI1_BAUD=115200
CONFIG_SCI1_BITS=8
CONFIG_SCI1_PARITY=0
-CONFIG_SCI1_2STOP=n
+CONFIG_SCI1_2STOP=0
#
# MC9S12NEC64 specific SSI device driver settings
diff --git a/nuttx/configs/ea3131/nsh/defconfig b/nuttx/configs/ea3131/nsh/defconfig
index 4025ce900..a50104ba4 100644
--- a/nuttx/configs/ea3131/nsh/defconfig
+++ b/nuttx/configs/ea3131/nsh/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig
index 5581e2e88..2e76bebbd 100644
--- a/nuttx/configs/ea3131/ostest/defconfig
+++ b/nuttx/configs/ea3131/ostest/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig
index e609f35e6..a28f1f827 100644
--- a/nuttx/configs/ea3131/pgnsh/defconfig
+++ b/nuttx/configs/ea3131/pgnsh/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# MP25x Configuration
diff --git a/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig
index 017be2404..abd2855df 100644
--- a/nuttx/configs/ea3131/usbserial/defconfig
+++ b/nuttx/configs/ea3131/usbserial/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig
index 3a04eab37..1d4c5dfd4 100644
--- a/nuttx/configs/ea3131/usbstorage/defconfig
+++ b/nuttx/configs/ea3131/usbstorage/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ea3152/ostest/defconfig b/nuttx/configs/ea3152/ostest/defconfig
index a86ba4bf9..ebb9e637b 100644
--- a/nuttx/configs/ea3152/ostest/defconfig
+++ b/nuttx/configs/ea3152/ostest/defconfig
@@ -99,7 +99,7 @@ CONFIG_UART_RXBUFSIZE=256
CONFIG_UART_BAUD=115200
CONFIG_UART_BITS=8
CONFIG_UART_PARITY=0
-CONFIG_UART_2STOP=n
+CONFIG_UART_2STOP=0
#
# General build options
diff --git a/nuttx/configs/eagle100/httpd/defconfig b/nuttx/configs/eagle100/httpd/defconfig
index a0959b076..eea8d657b 100644
--- a/nuttx/configs/eagle100/httpd/defconfig
+++ b/nuttx/configs/eagle100/httpd/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig
index 261b2dafe..d52986372 100644
--- a/nuttx/configs/eagle100/nettest/defconfig
+++ b/nuttx/configs/eagle100/nettest/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/eagle100/nsh/defconfig b/nuttx/configs/eagle100/nsh/defconfig
index e5d3608bb..36212e59b 100644
--- a/nuttx/configs/eagle100/nsh/defconfig
+++ b/nuttx/configs/eagle100/nsh/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/eagle100/nxflat/defconfig b/nuttx/configs/eagle100/nxflat/defconfig
index 10ee50c44..5835fbb4f 100644
--- a/nuttx/configs/eagle100/nxflat/defconfig
+++ b/nuttx/configs/eagle100/nxflat/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/eagle100/ostest/defconfig b/nuttx/configs/eagle100/ostest/defconfig
index afccba390..0cf744087 100644
--- a/nuttx/configs/eagle100/ostest/defconfig
+++ b/nuttx/configs/eagle100/ostest/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/eagle100/thttpd/defconfig b/nuttx/configs/eagle100/thttpd/defconfig
index e7b91bc6f..5493345ce 100644
--- a/nuttx/configs/eagle100/thttpd/defconfig
+++ b/nuttx/configs/eagle100/thttpd/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# LM3S6918 specific SSI device driver settings
diff --git a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
index 4d9c1c178..7a12fd28b 100644
--- a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
+++ b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
@@ -99,9 +99,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6B96 specific SSI device driver settings
diff --git a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
index daced7360..03c6574e2 100644
--- a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
+++ b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
@@ -99,9 +99,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6B96 specific SSI device driver settings
diff --git a/nuttx/configs/ez80f910200kitg/ostest/defconfig b/nuttx/configs/ez80f910200kitg/ostest/defconfig
index 3ecc95f4b..5947962bc 100644
--- a/nuttx/configs/ez80f910200kitg/ostest/defconfig
+++ b/nuttx/configs/ez80f910200kitg/ostest/defconfig
@@ -68,8 +68,8 @@ CONFIG_UART0_BAUD=57600
CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/dhcpd/defconfig b/nuttx/configs/ez80f910200zco/dhcpd/defconfig
index c75c62a5a..64591ad50 100644
--- a/nuttx/configs/ez80f910200zco/dhcpd/defconfig
+++ b/nuttx/configs/ez80f910200zco/dhcpd/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/httpd/defconfig b/nuttx/configs/ez80f910200zco/httpd/defconfig
index 4c477713a..bc8c3bb65 100644
--- a/nuttx/configs/ez80f910200zco/httpd/defconfig
+++ b/nuttx/configs/ez80f910200zco/httpd/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/nettest/defconfig b/nuttx/configs/ez80f910200zco/nettest/defconfig
index 4b6485635..0a87a96e2 100644
--- a/nuttx/configs/ez80f910200zco/nettest/defconfig
+++ b/nuttx/configs/ez80f910200zco/nettest/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/nsh/defconfig b/nuttx/configs/ez80f910200zco/nsh/defconfig
index a4fc9cfb0..4066d0ea7 100644
--- a/nuttx/configs/ez80f910200zco/nsh/defconfig
+++ b/nuttx/configs/ez80f910200zco/nsh/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig
index 1a375c1ed..11bba8dcf 100644
--- a/nuttx/configs/ez80f910200zco/ostest/defconfig
+++ b/nuttx/configs/ez80f910200zco/ostest/defconfig
@@ -70,8 +70,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/ez80f910200zco/poll/defconfig b/nuttx/configs/ez80f910200zco/poll/defconfig
index 97f8a6433..8ac0dde32 100644
--- a/nuttx/configs/ez80f910200zco/poll/defconfig
+++ b/nuttx/configs/ez80f910200zco/poll/defconfig
@@ -71,8 +71,8 @@ CONFIG_UART0_BITS=0
CONFIG_UART1_BITS=0
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# ez80 EMAC
diff --git a/nuttx/configs/hymini-stm32v/buttons/defconfig b/nuttx/configs/hymini-stm32v/buttons/defconfig
index 335d97fa8..503864319 100644
--- a/nuttx/configs/hymini-stm32v/buttons/defconfig
+++ b/nuttx/configs/hymini-stm32v/buttons/defconfig
@@ -149,11 +149,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/nsh/defconfig b/nuttx/configs/hymini-stm32v/nsh/defconfig
index fa0b79e2f..17aaf9f6c 100755
--- a/nuttx/configs/hymini-stm32v/nsh/defconfig
+++ b/nuttx/configs/hymini-stm32v/nsh/defconfig
@@ -147,11 +147,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103V specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/nsh2/defconfig b/nuttx/configs/hymini-stm32v/nsh2/defconfig
index a0c614569..54574b26c 100644
--- a/nuttx/configs/hymini-stm32v/nsh2/defconfig
+++ b/nuttx/configs/hymini-stm32v/nsh2/defconfig
@@ -152,11 +152,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/nx/defconfig b/nuttx/configs/hymini-stm32v/nx/defconfig
index 0e05696ce..2d3d03832 100644
--- a/nuttx/configs/hymini-stm32v/nx/defconfig
+++ b/nuttx/configs/hymini-stm32v/nx/defconfig
@@ -147,11 +147,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103V specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/nxlines/defconfig b/nuttx/configs/hymini-stm32v/nxlines/defconfig
index efb37bd3a..1dc04c013 100644
--- a/nuttx/configs/hymini-stm32v/nxlines/defconfig
+++ b/nuttx/configs/hymini-stm32v/nxlines/defconfig
@@ -151,11 +151,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103V specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/usbserial/defconfig b/nuttx/configs/hymini-stm32v/usbserial/defconfig
index 1b96eb9c6..8f0e1f3d4 100755
--- a/nuttx/configs/hymini-stm32v/usbserial/defconfig
+++ b/nuttx/configs/hymini-stm32v/usbserial/defconfig
@@ -149,11 +149,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103V specific SSI device driver settings
diff --git a/nuttx/configs/hymini-stm32v/usbstorage/defconfig b/nuttx/configs/hymini-stm32v/usbstorage/defconfig
index 0ce608691..85627dfda 100755
--- a/nuttx/configs/hymini-stm32v/usbstorage/defconfig
+++ b/nuttx/configs/hymini-stm32v/usbstorage/defconfig
@@ -148,11 +148,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103V specific SSI device driver settings
diff --git a/nuttx/configs/lincoln60/nsh/defconfig b/nuttx/configs/lincoln60/nsh/defconfig
index 4bf6b0bb9..907a86291 100644
--- a/nuttx/configs/lincoln60/nsh/defconfig
+++ b/nuttx/configs/lincoln60/nsh/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lincoln60/ostest/defconfig b/nuttx/configs/lincoln60/ostest/defconfig
index b713cb0a2..6d2ad64b7 100644
--- a/nuttx/configs/lincoln60/ostest/defconfig
+++ b/nuttx/configs/lincoln60/ostest/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lm3s6432-s2e/nsh/defconfig b/nuttx/configs/lm3s6432-s2e/nsh/defconfig
index 42f44f744..ebfa4aa49 100644
--- a/nuttx/configs/lm3s6432-s2e/nsh/defconfig
+++ b/nuttx/configs/lm3s6432-s2e/nsh/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6432 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s6432-s2e/ostest/defconfig b/nuttx/configs/lm3s6432-s2e/ostest/defconfig
index 408c01c4c..84ea31b2c 100644
--- a/nuttx/configs/lm3s6432-s2e/ostest/defconfig
+++ b/nuttx/configs/lm3s6432-s2e/ostest/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6432 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s6965-ek/nsh/defconfig b/nuttx/configs/lm3s6965-ek/nsh/defconfig
index 58cfb2b04..845978a48 100755
--- a/nuttx/configs/lm3s6965-ek/nsh/defconfig
+++ b/nuttx/configs/lm3s6965-ek/nsh/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6965 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s6965-ek/nx/defconfig b/nuttx/configs/lm3s6965-ek/nx/defconfig
index d4482f6cc..53b54b56c 100755
--- a/nuttx/configs/lm3s6965-ek/nx/defconfig
+++ b/nuttx/configs/lm3s6965-ek/nx/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6965 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s6965-ek/ostest/defconfig b/nuttx/configs/lm3s6965-ek/ostest/defconfig
index f44187174..c06898463 100755
--- a/nuttx/configs/lm3s6965-ek/ostest/defconfig
+++ b/nuttx/configs/lm3s6965-ek/ostest/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S6965 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s8962-ek/nsh/defconfig b/nuttx/configs/lm3s8962-ek/nsh/defconfig
index 47a54d81c..8c7ac03c6 100755
--- a/nuttx/configs/lm3s8962-ek/nsh/defconfig
+++ b/nuttx/configs/lm3s8962-ek/nsh/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S8962 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s8962-ek/nx/defconfig b/nuttx/configs/lm3s8962-ek/nx/defconfig
index e61d7cb0e..5e0366af8 100755
--- a/nuttx/configs/lm3s8962-ek/nx/defconfig
+++ b/nuttx/configs/lm3s8962-ek/nx/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S8962 specific SSI device driver settings
diff --git a/nuttx/configs/lm3s8962-ek/ostest/defconfig b/nuttx/configs/lm3s8962-ek/ostest/defconfig
index 44bcd0003..6c554b8ad 100755
--- a/nuttx/configs/lm3s8962-ek/ostest/defconfig
+++ b/nuttx/configs/lm3s8962-ek/ostest/defconfig
@@ -98,9 +98,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# LM3S8962 specific SSI device driver settings
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
index 9169cd29b..db3474a4a 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
@@ -157,10 +157,10 @@ CONFIG_UART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_USART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_USART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
CONFIG_USART0_RS485MODE=n
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
index 520dc23cf..40af52c5a 100644
--- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
@@ -155,10 +155,10 @@ CONFIG_UART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_USART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_USART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
CONFIG_USART0_RS485MODE=n
diff --git a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
index 7b6ce7ff2..681744b6e 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
index c9090cbb8..718e07131 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
index 2c6da9661..839eb2c9a 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
index b000e69d7..da6da5948 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
index 538ecb881..8150d89f6 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
index ffe545f6d..8d0f34b44 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
@@ -130,10 +130,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/m68332evb/defconfig b/nuttx/configs/m68332evb/defconfig
index e652747d6..b05cf0d7b 100644
--- a/nuttx/configs/m68332evb/defconfig
+++ b/nuttx/configs/m68332evb/defconfig
@@ -58,8 +58,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mbed/hidkbd/defconfig b/nuttx/configs/mbed/hidkbd/defconfig
index 80511aabb..4d0a0b0d5 100644
--- a/nuttx/configs/mbed/hidkbd/defconfig
+++ b/nuttx/configs/mbed/hidkbd/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/mbed/nsh/defconfig b/nuttx/configs/mbed/nsh/defconfig
index 96f4454bf..0d4070293 100755
--- a/nuttx/configs/mbed/nsh/defconfig
+++ b/nuttx/configs/mbed/nsh/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/mcu123-lpc214x/composite/defconfig b/nuttx/configs/mcu123-lpc214x/composite/defconfig
index b73737adc..62e75452b 100644
--- a/nuttx/configs/mcu123-lpc214x/composite/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/composite/defconfig
@@ -80,8 +80,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mcu123-lpc214x/nsh/defconfig b/nuttx/configs/mcu123-lpc214x/nsh/defconfig
index 5589c5639..a1e16fe52 100644
--- a/nuttx/configs/mcu123-lpc214x/nsh/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/nsh/defconfig
@@ -80,8 +80,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mcu123-lpc214x/ostest/defconfig b/nuttx/configs/mcu123-lpc214x/ostest/defconfig
index af801923a..3d179beec 100644
--- a/nuttx/configs/mcu123-lpc214x/ostest/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/ostest/defconfig
@@ -80,8 +80,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
index b77aba399..9cf4e6483 100644
--- a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
@@ -80,8 +80,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
index d655829dd..a27fad9d3 100644
--- a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
@@ -80,8 +80,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/micropendous3/hello/defconfig b/nuttx/configs/micropendous3/hello/defconfig
index 9a43c5fca..a76093424 100644
--- a/nuttx/configs/micropendous3/hello/defconfig
+++ b/nuttx/configs/micropendous3/hello/defconfig
@@ -96,7 +96,7 @@ CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART1_BAUD=38400
CONFIG_USART1_BITS=8
CONFIG_USART1_PARITY=0
-CONFIG_USART1_2STOP=n
+CONFIG_USART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mirtoo/nsh/defconfig b/nuttx/configs/mirtoo/nsh/defconfig
index 76cda2488..0ee9cc34e 100644
--- a/nuttx/configs/mirtoo/nsh/defconfig
+++ b/nuttx/configs/mirtoo/nsh/defconfig
@@ -153,8 +153,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mirtoo/nxffs/defconfig b/nuttx/configs/mirtoo/nxffs/defconfig
index 616f882cd..a9dce182b 100644
--- a/nuttx/configs/mirtoo/nxffs/defconfig
+++ b/nuttx/configs/mirtoo/nxffs/defconfig
@@ -153,8 +153,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mirtoo/ostest/defconfig b/nuttx/configs/mirtoo/ostest/defconfig
index 96eaeb25c..e830aefa0 100644
--- a/nuttx/configs/mirtoo/ostest/defconfig
+++ b/nuttx/configs/mirtoo/ostest/defconfig
@@ -145,8 +145,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/mx1ads/ostest/defconfig b/nuttx/configs/mx1ads/ostest/defconfig
index 30b5fe868..f85910a98 100644
--- a/nuttx/configs/mx1ads/ostest/defconfig
+++ b/nuttx/configs/mx1ads/ostest/defconfig
@@ -80,9 +80,9 @@ CONFIG_UART3_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# IMX specific SPI device driver settings
diff --git a/nuttx/configs/ne64badge/ostest/defconfig b/nuttx/configs/ne64badge/ostest/defconfig
index bbf41583f..020dd5cc0 100755
--- a/nuttx/configs/ne64badge/ostest/defconfig
+++ b/nuttx/configs/ne64badge/ostest/defconfig
@@ -83,7 +83,7 @@ CONFIG_SCI0_RXBUFSIZE=32
CONFIG_SCI0_BAUD=38400
CONFIG_SCI0_BITS=8
CONFIG_SCI0_PARITY=0
-CONFIG_SCI0_2STOP=n
+CONFIG_SCI0_2STOP=0
CONFIG_SCI1_SERIAL_CONSOLE=n
CONFIG_SCI1_TXBUFSIZE=32
@@ -91,7 +91,7 @@ CONFIG_SCI1_RXBUFSIZE=32
CONFIG_SCI1_BAUD=38400
CONFIG_SCI1_BITS=8
CONFIG_SCI1_PARITY=0
-CONFIG_SCI1_2STOP=n
+CONFIG_SCI1_2STOP=0
#
# MC9S12NEC64 specific SSI device driver settings
diff --git a/nuttx/configs/ntosd-dm320/nettest/defconfig b/nuttx/configs/ntosd-dm320/nettest/defconfig
index fbab35a7a..466f9e481 100644
--- a/nuttx/configs/ntosd-dm320/nettest/defconfig
+++ b/nuttx/configs/ntosd-dm320/nettest/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/nsh/defconfig b/nuttx/configs/ntosd-dm320/nsh/defconfig
index 436d324f9..48de4f76a 100644
--- a/nuttx/configs/ntosd-dm320/nsh/defconfig
+++ b/nuttx/configs/ntosd-dm320/nsh/defconfig
@@ -78,8 +78,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/ostest/defconfig b/nuttx/configs/ntosd-dm320/ostest/defconfig
index aa4449b0a..fcc5d2f2c 100644
--- a/nuttx/configs/ntosd-dm320/ostest/defconfig
+++ b/nuttx/configs/ntosd-dm320/ostest/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/poll/defconfig b/nuttx/configs/ntosd-dm320/poll/defconfig
index f004093e4..ff2a193ab 100644
--- a/nuttx/configs/ntosd-dm320/poll/defconfig
+++ b/nuttx/configs/ntosd-dm320/poll/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/thttpd/defconfig b/nuttx/configs/ntosd-dm320/thttpd/defconfig
index f0749ba2f..5e1d8f1c8 100644
--- a/nuttx/configs/ntosd-dm320/thttpd/defconfig
+++ b/nuttx/configs/ntosd-dm320/thttpd/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig
index e88fedcd5..9560255c4 100644
--- a/nuttx/configs/ntosd-dm320/udp/defconfig
+++ b/nuttx/configs/ntosd-dm320/udp/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ntosd-dm320/uip/defconfig b/nuttx/configs/ntosd-dm320/uip/defconfig
index 9c5f0f0d1..046dd6497 100644
--- a/nuttx/configs/ntosd-dm320/uip/defconfig
+++ b/nuttx/configs/ntosd-dm320/uip/defconfig
@@ -79,8 +79,8 @@ CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig
index afb2f8854..d846e9a0d 100755
--- a/nuttx/configs/nucleus2g/nsh/defconfig
+++ b/nuttx/configs/nucleus2g/nsh/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig
index 71254a7b0..194c5d817 100755
--- a/nuttx/configs/nucleus2g/ostest/defconfig
+++ b/nuttx/configs/nucleus2g/ostest/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/nucleus2g/usbserial/defconfig b/nuttx/configs/nucleus2g/usbserial/defconfig
index 08d5c46bb..d3c8bc7dc 100755
--- a/nuttx/configs/nucleus2g/usbserial/defconfig
+++ b/nuttx/configs/nucleus2g/usbserial/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/nucleus2g/usbstorage/defconfig b/nuttx/configs/nucleus2g/usbstorage/defconfig
index 469c6faa2..2f1f6a369 100755
--- a/nuttx/configs/nucleus2g/usbstorage/defconfig
+++ b/nuttx/configs/nucleus2g/usbstorage/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
index 95b6cdc7e..c11d40999 100755
--- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
index 5989708e2..ce40fc25d 100755
--- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
index cf1c642bf..7c0046b85 100755
--- a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
index ce73f6b1a..9bc96d1be 100755
--- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/nx/defconfig b/nuttx/configs/olimex-lpc1766stk/nx/defconfig
index 986e08ada..409671377 100755
--- a/nuttx/configs/olimex-lpc1766stk/nx/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nx/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
index 68793fcce..f7b701cc3 100755
--- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
index c358fef59..6eb34db14 100755
--- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
@@ -136,10 +136,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
index bd8fd19c2..9690f800f 100755
--- a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
index 0fe27df98..ed41b08d0 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
index caf2e3772..b01e79a5d 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
@@ -134,10 +134,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
index 02847d6b4..a0e5da662 100755
--- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
@@ -128,10 +128,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# LPC17xx specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/olimex-lpc2378/nsh/defconfig b/nuttx/configs/olimex-lpc2378/nsh/defconfig
index 2615f35a9..8f0174c9b 100755
--- a/nuttx/configs/olimex-lpc2378/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc2378/nsh/defconfig
@@ -101,8 +101,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART2_PARITY=0
# 2 Stop Bits ?
-CONFIG_UART0_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/olimex-lpc2378/ostest/defconfig b/nuttx/configs/olimex-lpc2378/ostest/defconfig
index 7e0b862f0..79051c568 100755
--- a/nuttx/configs/olimex-lpc2378/ostest/defconfig
+++ b/nuttx/configs/olimex-lpc2378/ostest/defconfig
@@ -101,8 +101,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART2_PARITY=0
# 2 Stop Bits ?
-CONFIG_UART0_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/olimex-stm32-p107/nsh/defconfig b/nuttx/configs/olimex-stm32-p107/nsh/defconfig
index fc3b4f0c4..781dcd64c 100644
--- a/nuttx/configs/olimex-stm32-p107/nsh/defconfig
+++ b/nuttx/configs/olimex-stm32-p107/nsh/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/olimex-stm32-p107/ostest/defconfig b/nuttx/configs/olimex-stm32-p107/ostest/defconfig
index a6268b8bc..ad07b7aa1 100644
--- a/nuttx/configs/olimex-stm32-p107/ostest/defconfig
+++ b/nuttx/configs/olimex-stm32-p107/ostest/defconfig
@@ -179,11 +179,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/olimex-strp711/nettest/defconfig b/nuttx/configs/olimex-strp711/nettest/defconfig
index 58a4673e4..2954c7ca7 100755
--- a/nuttx/configs/olimex-strp711/nettest/defconfig
+++ b/nuttx/configs/olimex-strp711/nettest/defconfig
@@ -117,10 +117,10 @@ CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/olimex-strp711/nsh/defconfig b/nuttx/configs/olimex-strp711/nsh/defconfig
index 8b74e88db..1f4976a48 100644
--- a/nuttx/configs/olimex-strp711/nsh/defconfig
+++ b/nuttx/configs/olimex-strp711/nsh/defconfig
@@ -117,10 +117,10 @@ CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/olimex-strp711/ostest/defconfig b/nuttx/configs/olimex-strp711/ostest/defconfig
index ecb201106..579ba769e 100644
--- a/nuttx/configs/olimex-strp711/ostest/defconfig
+++ b/nuttx/configs/olimex-strp711/ostest/defconfig
@@ -117,10 +117,10 @@ CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
index 3015f0af6..e79efc67a 100644
--- a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
+++ b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
@@ -145,8 +145,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
index 668adab78..0fe51f08e 100644
--- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
+++ b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
@@ -145,8 +145,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/pic32-starterkit/nsh/defconfig b/nuttx/configs/pic32-starterkit/nsh/defconfig
index 7997282e8..fe18e1dbd 100644
--- a/nuttx/configs/pic32-starterkit/nsh/defconfig
+++ b/nuttx/configs/pic32-starterkit/nsh/defconfig
@@ -180,12 +180,12 @@ CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
CONFIG_UART6_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
-CONFIG_UART6_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
+CONFIG_UART6_2STOP=0
#
# PIC32MX specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/pic32-starterkit/nsh2/defconfig b/nuttx/configs/pic32-starterkit/nsh2/defconfig
index 797f2e82b..1879e80da 100644
--- a/nuttx/configs/pic32-starterkit/nsh2/defconfig
+++ b/nuttx/configs/pic32-starterkit/nsh2/defconfig
@@ -180,12 +180,12 @@ CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
CONFIG_UART6_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
-CONFIG_UART6_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
+CONFIG_UART6_2STOP=0
#
# PIC32MX specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig
index 510d1e370..bd1c372ed 100644
--- a/nuttx/configs/pic32-starterkit/ostest/defconfig
+++ b/nuttx/configs/pic32-starterkit/ostest/defconfig
@@ -180,12 +180,12 @@ CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
CONFIG_UART6_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
-CONFIG_UART6_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
+CONFIG_UART6_2STOP=0
#
# PIC32MX specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/pic32mx7mmb/nsh/defconfig b/nuttx/configs/pic32mx7mmb/nsh/defconfig
index eac9a5270..3a89bca7e 100644
--- a/nuttx/configs/pic32mx7mmb/nsh/defconfig
+++ b/nuttx/configs/pic32mx7mmb/nsh/defconfig
@@ -180,12 +180,12 @@ CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
CONFIG_UART6_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
-CONFIG_UART6_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
+CONFIG_UART6_2STOP=0
#
# PIC32MX specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/pic32mx7mmb/ostest/defconfig b/nuttx/configs/pic32mx7mmb/ostest/defconfig
index 163d6b455..bc307e44a 100644
--- a/nuttx/configs/pic32mx7mmb/ostest/defconfig
+++ b/nuttx/configs/pic32mx7mmb/ostest/defconfig
@@ -180,12 +180,12 @@ CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
CONFIG_UART6_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
-CONFIG_UART6_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
+CONFIG_UART6_2STOP=0
#
# PIC32MX specific PHY/Ethernet device driver settings
diff --git a/nuttx/configs/qemu-i486/nsh/defconfig b/nuttx/configs/qemu-i486/nsh/defconfig
index 96a74839b..8de40fcab 100644
--- a/nuttx/configs/qemu-i486/nsh/defconfig
+++ b/nuttx/configs/qemu-i486/nsh/defconfig
@@ -111,10 +111,10 @@ CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
CONFIG_UART3_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
-CONFIG_UART3_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
+CONFIG_UART3_2STOP=0
#
# General OS setup
diff --git a/nuttx/configs/sam3u-ek/knsh/defconfig b/nuttx/configs/sam3u-ek/knsh/defconfig
index 2c43581f5..201725000 100755
--- a/nuttx/configs/sam3u-ek/knsh/defconfig
+++ b/nuttx/configs/sam3u-ek/knsh/defconfig
@@ -131,11 +131,11 @@ CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_UART_2STOP=n
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_UART_2STOP=0
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/sam3u-ek/nsh/defconfig b/nuttx/configs/sam3u-ek/nsh/defconfig
index 57572fe00..15b4d8d86 100755
--- a/nuttx/configs/sam3u-ek/nsh/defconfig
+++ b/nuttx/configs/sam3u-ek/nsh/defconfig
@@ -126,11 +126,11 @@ CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_UART_2STOP=n
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_UART_2STOP=0
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig
index 6ce5597e4..f124164dc 100755
--- a/nuttx/configs/sam3u-ek/nx/defconfig
+++ b/nuttx/configs/sam3u-ek/nx/defconfig
@@ -126,11 +126,11 @@ CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_UART_2STOP=n
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_UART_2STOP=0
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig
index 65b91d0fe..1138094ec 100755
--- a/nuttx/configs/sam3u-ek/ostest/defconfig
+++ b/nuttx/configs/sam3u-ek/ostest/defconfig
@@ -127,11 +127,11 @@ CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_UART_2STOP=n
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_UART_2STOP=0
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
# General build options
diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig
index 894012e7f..eef3c1dc1 100755
--- a/nuttx/configs/sam3u-ek/touchscreen/defconfig
+++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig
@@ -127,11 +127,11 @@ CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
-CONFIG_UART_2STOP=n
-CONFIG_USART0_2STOP=n
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
+CONFIG_UART_2STOP=0
+CONFIG_USART0_2STOP=0
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
#
# Input device configuration
diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig
index 72fc5a446..0bb624093 100644
--- a/nuttx/configs/skp16c26/ostest/defconfig
+++ b/nuttx/configs/skp16c26/ostest/defconfig
@@ -78,9 +78,9 @@ CONFIG_UART2_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# Enable LCD console
diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig
index 5282c6213..4d87e2d2c 100755
--- a/nuttx/configs/stm3210e-eval/RIDE/defconfig
+++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig
@@ -145,11 +145,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig
index b0b616a25..08703af7d 100644
--- a/nuttx/configs/stm3210e-eval/buttons/defconfig
+++ b/nuttx/configs/stm3210e-eval/buttons/defconfig
@@ -156,11 +156,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/composite/defconfig b/nuttx/configs/stm3210e-eval/composite/defconfig
index 4db468622..16415e793 100755
--- a/nuttx/configs/stm3210e-eval/composite/defconfig
+++ b/nuttx/configs/stm3210e-eval/composite/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig
index 5ce350e9e..3aedb6bd5 100755
--- a/nuttx/configs/stm3210e-eval/nsh/defconfig
+++ b/nuttx/configs/stm3210e-eval/nsh/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig
index 2c202e0d8..a9d279051 100644
--- a/nuttx/configs/stm3210e-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig
@@ -175,11 +175,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig
index e6aacd817..359e70969 100644
--- a/nuttx/configs/stm3210e-eval/nx/defconfig
+++ b/nuttx/configs/stm3210e-eval/nx/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nxconsole/defconfig b/nuttx/configs/stm3210e-eval/nxconsole/defconfig
index adc83a1f5..4d30ed8ea 100644
--- a/nuttx/configs/stm3210e-eval/nxconsole/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxconsole/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig
index 607e11d3c..476f85e5f 100644
--- a/nuttx/configs/stm3210e-eval/nxlines/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig
index 2a6f26be4..cef3a6246 100644
--- a/nuttx/configs/stm3210e-eval/nxtext/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig
index 6a08daf43..18239c995 100755
--- a/nuttx/configs/stm3210e-eval/ostest/defconfig
+++ b/nuttx/configs/stm3210e-eval/ostest/defconfig
@@ -155,11 +155,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/pm/defconfig b/nuttx/configs/stm3210e-eval/pm/defconfig
index 5e3c47658..48b9e83b3 100644
--- a/nuttx/configs/stm3210e-eval/pm/defconfig
+++ b/nuttx/configs/stm3210e-eval/pm/defconfig
@@ -185,11 +185,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig
index 3ae6b228d..da13a876d 100755
--- a/nuttx/configs/stm3210e-eval/usbserial/defconfig
+++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig
@@ -155,11 +155,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig
index 7e804e1a4..05b5a288f 100755
--- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig
+++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig
@@ -154,11 +154,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/dhcpd/defconfig b/nuttx/configs/stm3220g-eval/dhcpd/defconfig
index 18bfda2d7..d8cac6aab 100644
--- a/nuttx/configs/stm3220g-eval/dhcpd/defconfig
+++ b/nuttx/configs/stm3220g-eval/dhcpd/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/nettest/defconfig b/nuttx/configs/stm3220g-eval/nettest/defconfig
index 367e2a14f..ebd176269 100644
--- a/nuttx/configs/stm3220g-eval/nettest/defconfig
+++ b/nuttx/configs/stm3220g-eval/nettest/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/nsh/defconfig b/nuttx/configs/stm3220g-eval/nsh/defconfig
index 2ea6b73cf..937ce7686 100644
--- a/nuttx/configs/stm3220g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3220g-eval/nsh/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/nsh2/defconfig b/nuttx/configs/stm3220g-eval/nsh2/defconfig
index bbf63a10d..7e4d8127c 100644
--- a/nuttx/configs/stm3220g-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3220g-eval/nsh2/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/nxwm/defconfig b/nuttx/configs/stm3220g-eval/nxwm/defconfig
index 6978255fd..cbbdca2e3 100644
--- a/nuttx/configs/stm3220g-eval/nxwm/defconfig
+++ b/nuttx/configs/stm3220g-eval/nxwm/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig
index 87741f950..1ae110716 100644
--- a/nuttx/configs/stm3220g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3220g-eval/ostest/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3220g-eval/telnetd/defconfig b/nuttx/configs/stm3220g-eval/telnetd/defconfig
index f40108f09..f39e104bd 100644
--- a/nuttx/configs/stm3220g-eval/telnetd/defconfig
+++ b/nuttx/configs/stm3220g-eval/telnetd/defconfig
@@ -177,11 +177,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F20xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig
index 0b5b17448..a8372456f 100644
--- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig
+++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig
index 027b47029..500a8ab15 100644
--- a/nuttx/configs/stm3240g-eval/nettest/defconfig
+++ b/nuttx/configs/stm3240g-eval/nettest/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig
index fbafb988a..4a0246ef4 100644
--- a/nuttx/configs/stm3240g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig
index f78e7f94f..e9e0c272f 100644
--- a/nuttx/configs/stm3240g-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig
@@ -184,11 +184,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/nxconsole/defconfig b/nuttx/configs/stm3240g-eval/nxconsole/defconfig
index acc8da70e..8413a1b59 100644
--- a/nuttx/configs/stm3240g-eval/nxconsole/defconfig
+++ b/nuttx/configs/stm3240g-eval/nxconsole/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/nxwm/defconfig b/nuttx/configs/stm3240g-eval/nxwm/defconfig
index 5920872c3..de8ebffae 100644
--- a/nuttx/configs/stm3240g-eval/nxwm/defconfig
+++ b/nuttx/configs/stm3240g-eval/nxwm/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig
index 9e2c809fe..58b86beea 100644
--- a/nuttx/configs/stm3240g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3240g-eval/ostest/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig
index 400d372b1..39cde6b0f 100644
--- a/nuttx/configs/stm3240g-eval/telnetd/defconfig
+++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm3240g-eval/webserver/defconfig b/nuttx/configs/stm3240g-eval/webserver/defconfig
index 6885b8d7b..5c6e573d5 100644
--- a/nuttx/configs/stm3240g-eval/webserver/defconfig
+++ b/nuttx/configs/stm3240g-eval/webserver/defconfig
@@ -183,11 +183,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig
index 5445b5526..0a07e8489 100644
--- a/nuttx/configs/stm32f4discovery/nsh/defconfig
+++ b/nuttx/configs/stm32f4discovery/nsh/defconfig
@@ -172,11 +172,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SPI device driver settings
diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig
index 019769eee..52705977a 100644
--- a/nuttx/configs/stm32f4discovery/nxlines/defconfig
+++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig
@@ -172,11 +172,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SPI device driver settings
diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig
index 6fe0a9b8d..c7cee2331 100644
--- a/nuttx/configs/stm32f4discovery/ostest/defconfig
+++ b/nuttx/configs/stm32f4discovery/ostest/defconfig
@@ -172,11 +172,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SSI device driver settings
diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig
index 88890708a..592ce5701 100644
--- a/nuttx/configs/stm32f4discovery/pm/defconfig
+++ b/nuttx/configs/stm32f4discovery/pm/defconfig
@@ -173,11 +173,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F40xxx specific SPI device driver settings
diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig
index 00af0957d..d52bf5509 100644
--- a/nuttx/configs/sure-pic32mx/nsh/defconfig
+++ b/nuttx/configs/sure-pic32mx/nsh/defconfig
@@ -146,8 +146,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# PIC32MX-specific USB device setup
diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig
index d6939a6c0..ce09306f0 100644
--- a/nuttx/configs/sure-pic32mx/ostest/defconfig
+++ b/nuttx/configs/sure-pic32mx/ostest/defconfig
@@ -146,8 +146,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/sure-pic32mx/usbnsh/defconfig b/nuttx/configs/sure-pic32mx/usbnsh/defconfig
index 622ed5654..76704a121 100644
--- a/nuttx/configs/sure-pic32mx/usbnsh/defconfig
+++ b/nuttx/configs/sure-pic32mx/usbnsh/defconfig
@@ -146,8 +146,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# PIC32MX-specific USB device setup
diff --git a/nuttx/configs/teensy/hello/defconfig b/nuttx/configs/teensy/hello/defconfig
index d97cd5955..aa6135471 100644
--- a/nuttx/configs/teensy/hello/defconfig
+++ b/nuttx/configs/teensy/hello/defconfig
@@ -96,7 +96,7 @@ CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART1_BAUD=38400
CONFIG_USART1_BITS=8
CONFIG_USART1_PARITY=0
-CONFIG_USART1_2STOP=n
+CONFIG_USART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig
index 6313c1314..7108d27fe 100755
--- a/nuttx/configs/teensy/nsh/defconfig
+++ b/nuttx/configs/teensy/nsh/defconfig
@@ -96,7 +96,7 @@ CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART1_BAUD=38400
CONFIG_USART1_BITS=8
CONFIG_USART1_PARITY=0
-CONFIG_USART1_2STOP=n
+CONFIG_USART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/teensy/usbstorage/defconfig b/nuttx/configs/teensy/usbstorage/defconfig
index ad7d13ef6..87931ee24 100755
--- a/nuttx/configs/teensy/usbstorage/defconfig
+++ b/nuttx/configs/teensy/usbstorage/defconfig
@@ -96,7 +96,7 @@ CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART1_BAUD=38400
CONFIG_USART1_BITS=8
CONFIG_USART1_PARITY=0
-CONFIG_USART1_2STOP=n
+CONFIG_USART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ubw32/nsh/defconfig b/nuttx/configs/ubw32/nsh/defconfig
index 81129771d..c198067df 100644
--- a/nuttx/configs/ubw32/nsh/defconfig
+++ b/nuttx/configs/ubw32/nsh/defconfig
@@ -145,8 +145,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/ubw32/ostest/defconfig b/nuttx/configs/ubw32/ostest/defconfig
index b6a1814b9..dcbdc88ba 100644
--- a/nuttx/configs/ubw32/ostest/defconfig
+++ b/nuttx/configs/ubw32/ostest/defconfig
@@ -145,8 +145,8 @@ CONFIG_UART2_BITS=8
CONFIG_UART1_PARITY=0
CONFIG_UART2_PARITY=0
-CONFIG_UART1_2STOP=n
-CONFIG_UART2_2STOP=n
+CONFIG_UART1_2STOP=0
+CONFIG_UART2_2STOP=0
#
# General build options
diff --git a/nuttx/configs/us7032evb1/nsh/defconfig b/nuttx/configs/us7032evb1/nsh/defconfig
index 2cf0b2351..0ad714e67 100644
--- a/nuttx/configs/us7032evb1/nsh/defconfig
+++ b/nuttx/configs/us7032evb1/nsh/defconfig
@@ -85,8 +85,8 @@ CONFIG_SCI0_BITS=8
CONFIG_SCI1_BITS=8
CONFIG_SCI0_PARITY=0
CONFIG_SCI1_PARITY=0
-CONFIG_SCI0_2STOP=n
-CONFIG_SCI1_2STOP=n
+CONFIG_SCI0_2STOP=0
+CONFIG_SCI1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/us7032evb1/ostest/defconfig b/nuttx/configs/us7032evb1/ostest/defconfig
index 97dc1a6bf..02633fbf5 100644
--- a/nuttx/configs/us7032evb1/ostest/defconfig
+++ b/nuttx/configs/us7032evb1/ostest/defconfig
@@ -85,8 +85,8 @@ CONFIG_SCI0_BITS=8
CONFIG_SCI1_BITS=8
CONFIG_SCI0_PARITY=0
CONFIG_SCI1_PARITY=0
-CONFIG_SCI0_2STOP=n
-CONFIG_SCI1_2STOP=n
+CONFIG_SCI0_2STOP=0
+CONFIG_SCI1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig
index 9cba2a7df..348a67844 100755
--- a/nuttx/configs/vsn/nsh/defconfig
+++ b/nuttx/configs/vsn/nsh/defconfig
@@ -175,11 +175,11 @@ CONFIG_USART3_PARITY=0
CONFIG_UART4_PARITY=0
CONFIG_UART5_PARITY=0
-CONFIG_USART1_2STOP=n
-CONFIG_USART2_2STOP=n
-CONFIG_USART3_2STOP=n
-CONFIG_UART4_2STOP=n
-CONFIG_UART5_2STOP=n
+CONFIG_USART1_2STOP=0
+CONFIG_USART2_2STOP=0
+CONFIG_USART3_2STOP=0
+CONFIG_UART4_2STOP=0
+CONFIG_UART5_2STOP=0
#
# STM32F103Z specific SSI device driver settings
diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig
index 65c6f8beb..24e228a4b 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/defconfig
+++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig
@@ -64,8 +64,8 @@ CONFIG_UART0_BAUD=57600
CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig
index d45697443..95cb6f09b 100644
--- a/nuttx/configs/z16f2800100zcog/pashello/defconfig
+++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig
@@ -64,8 +64,8 @@ CONFIG_UART0_BAUD=57600
CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig
index e5848c63d..c19379097 100644
--- a/nuttx/configs/z8encore000zco/ostest/defconfig
+++ b/nuttx/configs/z8encore000zco/ostest/defconfig
@@ -62,8 +62,8 @@ CONFIG_UART0_BAUD=57600
CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/z8f64200100kit/ostest/defconfig b/nuttx/configs/z8f64200100kit/ostest/defconfig
index e6e978b7f..510824723 100644
--- a/nuttx/configs/z8f64200100kit/ostest/defconfig
+++ b/nuttx/configs/z8f64200100kit/ostest/defconfig
@@ -62,8 +62,8 @@ CONFIG_UART0_BAUD=57600
CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=n
-CONFIG_UART1_2STOP=n
+CONFIG_UART0_2STOP=0
+CONFIG_UART1_2STOP=0
#
# General build options
diff --git a/nuttx/drivers/serial/Kconfig b/nuttx/drivers/serial/Kconfig
index b8867bd3f..96052fad3 100644
--- a/nuttx/drivers/serial/Kconfig
+++ b/nuttx/drivers/serial/Kconfig
@@ -44,10 +44,10 @@ config 16550_UART0_BITS
16550 UART0 number of bits. Default: 8
config 16550_UART0_2STOP
- bool "16550 UART0 two stop bits"
- default n
+ int "16550 UART0 two stop bits"
+ default 0
---help---
- 16550 UART0 two stop bits. Default: 1
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config 16550_UART0_RXBUFSIZE
int "16550 UART0 Rx buffer size"
@@ -94,10 +94,10 @@ config 16550_UART1_BITS
16550 UART1 number of bits. Default: 8
config 16550_UART1_2STOP
- bool "16550 UART1 two stop bits"
- default n
+ int "16550 UART1 two stop bits"
+ default 0
---help---
- 16550 UART1 two stop bits. Default: 1
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config 16550_UART1_RXBUFSIZE
int "16550 UART1 Rx buffer size"
@@ -144,10 +144,10 @@ config 16550_UART2_BITS
16550 UART2 number of bits. Default: 8
config 16550_UART2_2STOP
- bool "16550 UART2 two stop bits"
- default n
+ int "16550 UART2 two stop bits"
+ default 0
---help---
- 16550 UART2 two stop bits. Default: 1
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config 16550_UART2_RXBUFSIZE
int "16550 UART2 Rx buffer size"
@@ -194,10 +194,10 @@ config 16550_UART3_BITS
16550 UART3 number of bits. Default: 8
config 16550_UART3_2STOP
- bool "16550 UART3 two stop bits"
- default n
+ int "16550 UART3 two stop bits"
+ default 0
---help---
- 16550 UART3 two stop bits. Default: 1
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
config 16550_UART3_RXBUFSIZE
int "16550 UART3 Rx buffer size"