summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sam3u/Kconfig
blob: 7170fdac3651a9b447e74ffba64f5819253a3283 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

comment "AT91SAM3 Configuration Options"

choice
	prompt "AT91SAM3 Chip Selection"
	default ARCH_CHIP_AT91SAM3U4E
	depends on ARCH_CHIP_SAM3U

config ARCH_CHIP_AT91SAM3U4E
	bool "AT91SAM3U4E"

endchoice

menu "AT91SAM3 Peripheral Support"

config SAM3U_DMA
	bool "DMA"
	default n
	select ARCH_DMA

config SAM3U_NAND
	bool "NAND support"
	default n

config SAM3U_HSMCI
	bool "HSMCI"
	default n

config SAM3U_UART
	bool "UART"
	default y
	select ARCH_HAVE_UART

config SAM3U_USART0
	bool "USART0"
	default n

config SAM3U_USART1
	bool "USART1"
	default n

config SAM3U_USART2
	bool "USART2"
	default n

config SAM3U_USART3
	bool "USART3"
	default n

endmenu

menu "AT91SAM3 UART Configuration"

config USART0_ISUART
	bool "USART0 is a UART"
	default y
	depends on SAM3U_USART0
	select ARCH_HAVE_USART0

config USART1_ISUART
	bool "USART1 is a UART"
	default y
	depends on SAM3U_USART1
	select ARCH_HAVE_USART1

config USART2_ISUART
	bool "USART2 is a UART"
	default n
	depends on SAM3U_USART2
	select ARCH_HAVE_USART2

config USART3_ISUART
	bool "USART3 is a UART"
	default y
	depends on SAM3U_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