diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-11 00:02:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-11 00:02:55 +0000 |
commit | bb898e296475721a9c5d604fde12ccf05796f642 (patch) | |
tree | 655e2592584d798ed4861c8103a6e2b0e7ad9c54 /nuttx/configs/z16f2800100zcog/ostest/defconfig | |
parent | 1b270afcda91bcebe2674487eabde088993adc38 (diff) | |
download | px4-nuttx-bb898e296475721a9c5d604fde12ccf05796f642.tar.gz px4-nuttx-bb898e296475721a9c5d604fde12ccf05796f642.tar.bz2 px4-nuttx-bb898e296475721a9c5d604fde12ccf05796f642.zip |
Add low-level UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@549 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z16f2800100zcog/ostest/defconfig')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/defconfig | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig index 7b6c85b31..bba24c16e 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/defconfig +++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig @@ -1,4 +1,4 @@ -############################################################ +############################################################################ # configs/z16f2800100zcog/defconfig # # Copyright (C) 2008 Gregory Nutt. All rights reserved. @@ -31,7 +31,7 @@ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -############################################################ +############################################################################ # # Architecture selection # @@ -64,13 +64,31 @@ CONFIG_DRAM_SIZE=65536 # # Z16F specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. +# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the +# console and ttyS0 (default is the UART0). +# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. # This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before +# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before # being sent. This specific the size of the transmit buffer -# -CONFIG_UART_RXBUFSIZE=0 -CONFIG_UART_TXBUFSIZE=0 +# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be +# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. +# 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_UART0_TXBUFSIZE=256 +CONFIG_UART1_TXBUFSIZE=256 +CONFIG_UART0_RXBUFSIZE=256 +CONFIG_UART1_RXBUFSIZE=256 +CONFIG_UART0_BAUD=115200 +CONFIG_UART1_BAUD=115200 +CONFIG_UART0_BITS=8 +CONFIG_UART1_BITS=8 +CONFIG_UART0_PARITY=0 +CONFIG_UART1_PARITY=0 +CONFIG_UART0_2STOP=0 +CONFIG_UART1_2STOP=0 # # General build options @@ -95,6 +113,8 @@ CONFIG_HAVE_LIBM=n # handle and enables the API mm_addregion(start, end); # CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot # time console output +# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot +# time console output # CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz # or TICKS_PER_MSEC=10. This setting may be defined to # inform NuttX that the processor hardware is providing @@ -119,6 +139,7 @@ CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y +CONFIG_ARCH_LOWGETC=n CONFIG_RR_INTERVAL=0 CONFIG_SCHED_INSTRUMENTATION=n CONFIG_TASK_NAME_SIZE=0 |