misc
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3006 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
cbb41e59c4
commit
744735dbdf
@ -65,17 +65,52 @@
|
||||
# undef CONFIG_AVR32_USART2
|
||||
#endif
|
||||
|
||||
/* Not all USART features are supported on all chips or all USARTS */
|
||||
|
||||
#ifdef CONFIG_ARCH_CHIP_AT91UC3B
|
||||
# undef CONFIG_AVR32_USART0_RS485
|
||||
# undef CONFIG_AVR32_USART0_MAN
|
||||
# undef CONFIG_AVR32_USART0_MODEM
|
||||
# undef CONFIG_AVR32_USART0_IRDA
|
||||
# undef CONFIG_AVR32_USART0_ISO786
|
||||
# undef CONFIG_AVR32_USART1_RS485
|
||||
# undef CONFIG_AVR32_USART2_RS485
|
||||
# undef CONFIG_AVR32_USART2_MAN
|
||||
# undef CONFIG_AVR32_USART2_MODEM
|
||||
# undef CONFIG_AVR32_USART2_IRDA
|
||||
# undef CONFIG_AVR32_USART2_ISO786
|
||||
#endif
|
||||
|
||||
/* Disable configurations if USART not selected in configuration file */
|
||||
|
||||
#ifndef CONFIG_AVR32_USART0
|
||||
# undef CONFIG_AVR32_USART0_RS232
|
||||
# undef CONFIG_AVR32_USART0_SPI
|
||||
# undef CONFIG_AVR32_USART0_RS485
|
||||
# undef CONFIG_AVR32_USART0_MAN
|
||||
# undef CONFIG_AVR32_USART0_MODEM
|
||||
# undef CONFIG_AVR32_USART0_IRDA
|
||||
# undef CONFIG_AVR32_USART0_ISO786
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_AVR32_USART1
|
||||
# undef CONFIG_AVR32_USART1_RS232
|
||||
# undef CONFIG_AVR32_USART1_SPI
|
||||
# undef CONFIG_AVR32_USART1_RS485
|
||||
# undef CONFIG_AVR32_USART1_MAN
|
||||
# undef CONFIG_AVR32_USART1_MODEM
|
||||
# undef CONFIG_AVR32_USART1_IRDA
|
||||
# undef CONFIG_AVR32_USART1_ISO786
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_AVR32_USART2
|
||||
# undef CONFIG_AVR32_USART2_RS232
|
||||
# undef CONFIG_AVR32_USART2_SPI
|
||||
# undef CONFIG_AVR32_USART2_RS485
|
||||
# undef CONFIG_AVR32_USART2_MAN
|
||||
# undef CONFIG_AVR32_USART2_MODEM
|
||||
# undef CONFIG_AVR32_USART2_IRDA
|
||||
# undef CONFIG_AVR32_USART2_ISO786
|
||||
#endif
|
||||
|
||||
/* Is any UART configured? */
|
||||
|
Loading…
Reference in New Issue
Block a user