summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x/Kconfig
blob: 2784ce9c36b2cf105ab795356370b8f7d8c4ff69 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

comment "STR71x Configuration Options"

menu "STR71x Peripheral Selections"

config STR71X_ADC12
	bool "ADC12"
	default n
	select ADC

config STR71X_BSPI0
	bool "BSPI0"
	default n
	select STR71X_GPIO0
	select SPI

config STR71X_BSPI1
	bool "BSPI1"
	default n
	select STR71X_GPIO0
	select SPI

config STR71X_CAN
	bool "CAN"
	default n
	select CAN

config STR71X_CKOUT
	bool "CKOUT"
	default n

config STR71X_GPIO0
	bool "GPIO0"
	default y

config STR71X_GPIO1
	bool "GPIO1"
	default n

config STR71X_GPIO2
	bool "GPIO2"
	default n

config STR71X_HDLC
	bool "HDLC"
	default n

config STR71X_I2C0
	bool "I2C0"
	default n
	select I2C

config STR71X_I2C1
	bool "I2C1"
	default n
	select I2C

config STR71X_RTC
	bool "RTC"
	default n
	select RTC

config STR71X_TIM1
	bool "TIM1"
	default n

config STR71X_TIM2
	bool "TIM2"
	default n

config STR71X_TIM3
	bool "TIM3"
	default n

config STR71X_UART0
	bool "UART0"
	default n
	select STR71X_GPIO0
	select ARCH_HAVE_UART0

config STR71X_UART1
	bool "UART1"
	default n
	select STR71X_GPIO0
	select ARCH_HAVE_UART1

config STR71X_UART2
	bool "UART2"
	default n
	select STR71X_GPIO0
	select ARCH_HAVE_UART2

config STR71X_UART3
	bool "UART3"
	default n
	select STR71X_GPIO0
	select ARCH_HAVE_UART3

config STR71X_USB
	bool "USB"
	default n
	select USBDEV

config STR71X_XTI
	bool "XTI"

endmenu #STR71x Peripheral Selections

config STR71X_DISABLE_PERIPHINIT
	bool "Disable peripheral interrupts"
	default n

menu "STR71x EMI Configuration"

config STR71X_BANK0
	bool "Bank 0"
	default n
	select STR71X_HAVE_EXTMEM

if STR71X_BANK0

config STR71X_BANK0_SIZE
	int "Bank 0 size"
	default 16
	---help---
		The only valid options are 8 and 16

config STR71X_BANK0_WAITSTATES
	int "Bank 0 wait states"
	default 0
	range 0 15

endif # STR71X_BANK0

config STR71X_BANK1
	bool "Bank 1"
	default n
	select STR71X_HAVE_EXTMEM

if STR71X_BANK1

config STR71X_BANK1_SIZE
	int "Bank 1 size"
	default 16
	---help---
		The only valid options are 8 and 16

config STR71X_BANK1_WAITSTATES
	int "Bank 1 wait states"
	default 0
	range 0 15

endif # STR71X_BANK1

config STR71X_BANK2
	bool "Bank 2"
	default n
	select STR71X_HAVE_EXTMEM

if STR71X_BANK2

config STR71X_BANK2_SIZE
	int "Bank 2 size"
	default 16
	---help---
		The only valid options are 8 and 16

config STR71X_BANK2_WAITSTATES
	int "Bank 2 wait states"
	default 0
	range 0 15

endif # STR71X_BANK2

config STR71X_BANK3
	bool "Bank 3"
	default n
	select STR71X_HAVE_EXTMEM

if STR71X_BANK3

config STR71X_BANK3_SIZE
	int "Bank 3 size"
	default 16
	---help---
		The only valid options are 8 and 16

config STR71X_BANK3_WAITSTATES
	int "Bank 3 wait states"
	default 0
	range 0 15

endif # STR71X_BANK3

config STR71X_HAVE_EXTMEM
	bool
	default n

config STR71X_BIGEXTMEM
	bool "Big external memory"
	default n
	depends on STR71X_HAVE_EXTMEM
	---help---
		Needed if the address space is > 1MB

endmenu # STR71x EMI Configuration