GPIO support/USART GPIO init

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3007 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-10-13 02:45:17 +00:00
parent f214421e21
commit e3b8f0e9fc
2 changed files with 11 additions and 6 deletions

View File

@ -63,6 +63,11 @@
#define AVR32_CPU_CLOCK AVR32_FOSC0
#define AVR32_PBA_CLOCK AVR32_FOSC0
/* Pin muliplexing selecion *********************************************************/
#define PINMUX_USART1_RXD PINMUX_USART1_RXD_1
#define PINMUX_USART1_TXD PINMUX_USART1_TXD_1
/* LED definitions ******************************************************************/
#define LED_STARTED 0

View File

@ -109,8 +109,8 @@ CONFIG_AVR32_AVRTOOLSL=n
# CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface.
#
CONFIG_AVR32_USART0=y
CONFIG_AVR32_USART0_RS232=y
CONFIG_AVR32_USART0=n
CONFIG_AVR32_USART0_RS232=n
CONFIG_AVR32_USART0_SPI=n
CONFIG_AVR32_USART0_RS485=n
CONFIG_AVR32_USART0_MAN=n
@ -118,8 +118,8 @@ CONFIG_AVR32_USART0_MODEM=n
CONFIG_AVR32_USART0_IRDA=n
CONFIG_AVR32_USART0_ISO786=n
CONFIG_AVR32_USART1=n
CONFIG_AVR32_USART1_RS232=n
CONFIG_AVR32_USART1=y
CONFIG_AVR32_USART1_RS232=y
CONFIG_AVR32_USART1_SPI=n
CONFIG_AVR32_USART1_RS485=n
CONFIG_AVR32_USART1_MAN=n
@ -150,8 +150,8 @@ CONFIG_AVR32_USART2_ISO786=n
# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
# CONFIG_USARTn_2STOP - Two stop bits
#
CONFIG_USART0_SERIAL_CONSOLE=y
CONFIG_USART1_SERIAL_CONSOLE=n
CONFIG_USART0_SERIAL_CONSOLE=n
CONFIG_USART1_SERIAL_CONSOLE=y
CONFIG_USART2_SERIAL_CONSOLE=n
CONFIG_USART0_TXBUFSIZE=256