diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-11 23:19:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-11 23:19:09 +0000 |
commit | 0162245b27eb72c2973c587e5ea59317b43b88bd (patch) | |
tree | 21a04dc3ef46bb5f4361b32eef67a0b1b433b450 /nuttx/configs/mx1ads/ostest/defconfig | |
parent | 32ff8af133c4d385a8dd40c756cf9fecaaf407c4 (diff) | |
download | px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.tar.gz px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.tar.bz2 px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.zip |
Basic UART/console functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1697 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mx1ads/ostest/defconfig')
-rw-r--r-- | nuttx/configs/mx1ads/ostest/defconfig | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/nuttx/configs/mx1ads/ostest/defconfig b/nuttx/configs/mx1ads/ostest/defconfig index 0437684df..164a61fdb 100644 --- a/nuttx/configs/mx1ads/ostest/defconfig +++ b/nuttx/configs/mx1ads/ostest/defconfig @@ -76,8 +76,10 @@ CONFIG_ARCH_STACKDUMP=y # # IMX specific device driver settings # +# CONFIG_UARTn_DISABLE - select to disable all support for +# the UART # CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). +# console and ttys0 (default is the UART1). # CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. # This specific the size of the receive buffer # CONFIG_UARTn_TXBUFSIZE - Characters are buffered before @@ -87,27 +89,30 @@ CONFIG_ARCH_STACKDUMP=y # CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity # CONFIG_UARTn_2STOP - Two stop bits # -CONFIG_UART0_SERIAL_CONSOLE=y -CONFIG_UART1_SERIAL_CONSOLE=n +CONFIG_UART1_DISABLE=n +CONFIG_UART2_DISABLE=y +CONFIG_UART3_DISABLE=y +CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n -CONFIG_UART0_TXBUFSIZE=256 +CONFIG_UART3_SERIAL_CONSOLE=n CONFIG_UART1_TXBUFSIZE=256 CONFIG_UART2_TXBUFSIZE=256 -CONFIG_UART0_RXBUFSIZE=256 +CONFIG_UART3_TXBUFSIZE=256 CONFIG_UART1_RXBUFSIZE=256 CONFIG_UART2_RXBUFSIZE=256 -CONFIG_UART0_BAUD=115200 +CONFIG_UART3_RXBUFSIZE=256 CONFIG_UART1_BAUD=115200 CONFIG_UART2_BAUD=115200 -CONFIG_UART0_BITS=8 +CONFIG_UART3_BAUD=115200 CONFIG_UART1_BITS=8 CONFIG_UART2_BITS=8 -CONFIG_UART0_PARITY=0 +CONFIG_UART3_BITS=8 CONFIG_UART1_PARITY=0 CONFIG_UART2_PARITY=0 -CONFIG_UART0_2STOP=0 +CONFIG_UART3_PARITY=0 CONFIG_UART1_2STOP=0 CONFIG_UART2_2STOP=0 +CONFIG_UART3_2STOP=0 # # General build options |