Extend configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2493 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
df36ca08b8
commit
0ee75e5662
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user