diff options
Diffstat (limited to 'nuttx/arch/arm/src/sam34/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/sam34/Kconfig | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/sam34/Kconfig b/nuttx/arch/arm/src/sam34/Kconfig new file mode 100644 index 000000000..9cd9a019a --- /dev/null +++ b/nuttx/arch/arm/src/sam34/Kconfig @@ -0,0 +1,107 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +comment "AT91SAM3/SAM4 Configuration Options" + +choice + prompt "AT91SAM3 Chip Selection" + default ARCH_CHIP_AT91SAM3U4E + depends on ARCH_CHIP_SAM34 + +config ARCH_CHIP_AT91SAM3U4E + bool "AT91SAM3U4E" + select ARCH_CORTEXM3 + select ARCH_CHIP_SAM3U + +endchoice + +config ARCH_CHIP_SAM3U + bool + +menu "AT91SAM3 Peripheral Support" + +config SAM34_DMA + bool "DMA" + default n + select ARCH_DMA + +config SAM34_NAND + bool "NAND support" + default n + +config SAM34_HSMCI + bool "HSMCI" + default n + +config SAM34_UART + bool "UART" + default y + select ARCH_HAVE_UART + +config SAM34_USART0 + bool "USART0" + default n + +config SAM34_USART1 + bool "USART1" + default n + +config SAM34_USART2 + bool "USART2" + default n + +config SAM34_USART3 + bool "USART3" + default n + +config SAM34_SPI + bool "SPI" + default n + +endmenu + +menu "AT91SAM3 UART Configuration" + +config USART0_ISUART + bool "USART0 is a UART" + default y + depends on SAM34_USART0 + select ARCH_HAVE_USART0 + +config USART1_ISUART + bool "USART1 is a UART" + default y + depends on SAM34_USART1 + select ARCH_HAVE_USART1 + +config USART2_ISUART + bool "USART2 is a UART" + default n + depends on SAM34_USART2 + select ARCH_HAVE_USART2 + +config USART3_ISUART + bool "USART3 is a UART" + default y + depends on SAM34_USART3 + select ARCH_HAVE_USART2 + +endmenu + +menu "AT91SAM3 GPIO Interrupt Configuration" + +config GPIOA_IRQ + bool "GPIOA interrupts" + default n + +config GPIOB_IRQ + bool "GPIOB interrupts" + default n + +config GPIOC_IRQ + bool "GPIOC interrupts" + default n + +endmenu |