More changes for STM3240 build

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4121 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-11-22 20:07:42 +00:00
parent bdd202a838
commit b5f05cbbc5
2 changed files with 24 additions and 14 deletions

View File

@ -145,6 +145,16 @@
#warning "Missing logic"
/* Alternate function pin selections ************************************************/
/* UART3:
* - PC11 is MicroSDCard_D3 & RS232/IrDA_RX (JP22 open)
* - PC10 is MicroSDCard_D2 & RSS232/IrDA_TX
*/
#define GPIO_USART3_RX GPIO_USART3_RX_2
#define GPIO_USART3_TX GPIO_USART3_TX_2
/************************************************************************************
* Public Data
************************************************************************************/

View File

@ -149,7 +149,7 @@ CONFIG_STM32_WWDG=n
CONFIG_STM32_SPI2=n
CONFIG_STM32_SPI3=n
CONFIG_STM32_USART2=n
CONFIG_STM32_USART3=n
CONFIG_STM32_USART3=y
CONFIG_STM32_UART4=n
CONFIG_STM32_UART5=n
CONFIG_STM32_I2C1=n
@ -162,7 +162,7 @@ CONFIG_STM32_DAC=n
# APB2:
CONFIG_STM32_TIM1=n
CONFIG_STM32_TIM8=n
CONFIG_STM32_USART1=y
CONFIG_STM32_USART1=n
CONFIG_STM32_USART6=n
CONFIG_STM32_ADC1=n
CONFIG_STM32_ADC2=n
@ -193,23 +193,23 @@ CONFIG_STM32_TIM11=n
# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
# CONFIG_USARTn_2STOP - Two stop bits
#
CONFIG_USART1_SERIAL_CONSOLE=y
CONFIG_USART1_SERIAL_CONSOLE=n
CONFIG_USART2_SERIAL_CONSOLE=n
CONFIG_USART3_SERIAL_CONSOLE=n
CONFIG_USART3_SERIAL_CONSOLE=y
CONFIG_USART4_SERIAL_CONSOLE=n
CONFIG_USART5_SERIAL_CONSOLE=n
CONFIG_USART1_TXBUFSIZE=256
CONFIG_USART2_TXBUFSIZE=256
CONFIG_USART3_TXBUFSIZE=256
CONFIG_USART4_TXBUFSIZE=256
CONFIG_USART5_TXBUFSIZE=256
CONFIG_USART1_TXBUFSIZE=128
CONFIG_USART2_TXBUFSIZE=128
CONFIG_USART3_TXBUFSIZE=128
CONFIG_USART4_TXBUFSIZE=128
CONFIG_USART5_TXBUFSIZE=128
CONFIG_USART1_RXBUFSIZE=256
CONFIG_USART2_RXBUFSIZE=256
CONFIG_USART3_RXBUFSIZE=256
CONFIG_USART4_RXBUFSIZE=256
CONFIG_USART5_RXBUFSIZE=256
CONFIG_USART1_RXBUFSIZE=128
CONFIG_USART2_RXBUFSIZE=128
CONFIG_USART3_RXBUFSIZE=128
CONFIG_USART4_RXBUFSIZE=128
CONFIG_USART5_RXBUFSIZE=128
CONFIG_USART1_BAUD=115200
CONFIG_USART2_BAUD=115200