summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek/ostest/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-01-02 21:20:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-01-02 21:20:47 +0000
commit96c2aa8f19b09d215c24e088947179ab182264a0 (patch)
tree61aa089e84183c454433f4daf6d9b42ef2c9a85a /nuttx/configs/sam3u-ek/ostest/defconfig
parentd0ae1c55c9f2013cb21074786e1cd75d3f3db506 (diff)
downloadpx4-nuttx-96c2aa8f19b09d215c24e088947179ab182264a0.tar.gz
px4-nuttx-96c2aa8f19b09d215c24e088947179ab182264a0.tar.bz2
px4-nuttx-96c2aa8f19b09d215c24e088947179ab182264a0.zip
Extend configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2493 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sam3u-ek/ostest/defconfig')
-rwxr-xr-xnuttx/configs/sam3u-ek/ostest/defconfig27
1 files changed, 22 insertions, 5 deletions
diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig
index ff18be8f1..cc19b2cd9 100755
--- a/nuttx/configs/sam3u-ek/ostest/defconfig
+++ b/nuttx/configs/sam3u-ek/ostest/defconfig
@@ -100,10 +100,20 @@ CONFIG_SAM3U_BUILDROOT=y
#
# Individual subsystems can be enabled:
#
-CONFIG_SAM3U_USART0=y
-CONFIG_SAM3U_USART1=y
-CONFIG_SAM3U_USART2=y
-CONFIG_SAM3U_USART3=y
+CONFIG_SAM3U_USART=y
+CONFIG_SAM3U_USART0=n
+CONFIG_SAM3U_USART1=n
+CONFIG_SAM3U_USART2=n
+CONFIG_SAM3U_USART3=n
+
+#
+# Some subsystems can be configured to operate in different ways..
+# The drivers need to know how to configure the subsystem.
+#
+CONFIG_USART0_ISUART=y
+CONFIG_USART1_ISUART=y
+CONFIG_USART2_ISUART=y
+CONFIG_USART3_ISUART=y
#
# SAM3U specific serial device driver settings
@@ -119,36 +129,43 @@ CONFIG_SAM3U_USART3=y
# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
# CONFIG_USARTn_2STOP - Two stop bits
#
-CONFIG_USART0_SERIAL_CONSOLE=Y
+CONFIG_USART_SERIAL_CONSOLE=Y
+CONFIG_USART0_SERIAL_CONSOLE=n
CONFIG_USART1_SERIAL_CONSOLE=n
CONFIG_USART2_SERIAL_CONSOLE=n
CONFIG_USART3_SERIAL_CONSOLE=n
+CONFIG_USART_TXBUFSIZE=256
CONFIG_USART0_TXBUFSIZE=256
CONFIG_USART1_TXBUFSIZE=256
CONFIG_USART2_TXBUFSIZE=256
CONFIG_USART3_TXBUFSIZE=256
+CONFIG_USART_RXBUFSIZE=256
CONFIG_USART0_RXBUFSIZE=256
CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART2_RXBUFSIZE=256
CONFIG_USART3_RXBUFSIZE=256
+CONFIG_USART_BAUD=115200
CONFIG_USART0_BAUD=115200
CONFIG_USART1_BAUD=115200
CONFIG_USART2_BAUD=115200
CONFIG_USART3_BAUD=115200
+CONFIG_USART_BITS=8
CONFIG_USART0_BITS=8
CONFIG_USART1_BITS=8
CONFIG_USART2_BITS=8
CONFIG_USART3_BITS=8
+CONFIG_USART_PARITY=0
CONFIG_USART0_PARITY=0
CONFIG_USART1_PARITY=0
CONFIG_USART2_PARITY=0
CONFIG_USART3_PARITY=0
+CONFIG_USART_2STOP=0
CONFIG_USART0_2STOP=0
CONFIG_USART1_2STOP=0
CONFIG_USART2_2STOP=0