summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/nuc1xx/Kconfig
blob: bc590fbe28d052e40e99b3e952fd399ac6c2e565 (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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

comment "NUC100/120 Configuration Options"

choice
	prompt "Nuvoton NUC1xx Chip Selection"
	default ARCH_CHIP_NUC120LE3AN
	depends on ARCH_CHIP_NUC1XX

config ARCH_CHIP_NUC100LC1BN
	bool "NUC100LC1BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 32K SRAM 4K, LQFP48 package

config ARCH_CHIP_NUC100LD1BN
	bool "NUC100LD1BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 64K SRAM 4K, LQFP48 package

config ARCH_CHIP_NUC100LD2BN
	bool "NUC100LD2BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 64K SRAM 8K, LQFP48 package

config ARCH_CHIP_NUC100RC1BN
	bool "NUC100RC1BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 32K SRAM 4K, LQFP64 package

config ARCH_CHIP_NUC100RD1BN
	bool "NUC100RD1BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 64K SRAM 4K, LQFP64 package

config ARCH_CHIP_NUC100RD2BN
	bool "NUC100RD2BN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC100 low density chip: Flash 64K SRAM 8K, LQFP64 package

config ARCH_CHIP_NUC100LD3AN
	bool "NUC100LD3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC100 medium density chip: Flash 64K SRAM 16K, LQFP48 package

config ARCH_CHIP_NUC100LE3AN
	bool "NUC100LE3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC100 medium density chip: Flash 128K SRAM 16K, LQFP48 package

config ARCH_CHIP_NUC100RD3AN
	bool "NUC100RD3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC100 medium density chip: Flash 64K SRAM 16K, LQFP64 package

config ARCH_CHIP_NUC100RE3AN
	bool "NUC100RE3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC100 medium density chip: Flash 128K SRAM 16K, LQFP64 package

config ARCH_CHIP_NUC100VD2AN
	bool "NUC100VD2AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC100 medium density chip: Flash 64K SRAM 8K, LQFP100 package

config ARCH_CHIP_NUC100VD3AN
	bool "NUC100VD3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC100 medium density chip: Flash 64K SRAM 16K, LQFP100 package

config ARCH_CHIP_NUC100VE3AN
	bool "NUC100VE3AN"
	select ARCH_FAMILY_NUC100
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC100 medium density chip: Flash 128K SRAM 8K, LQFP100 package

config ARCH_CHIP_NUC120LC1BN
	bool "NUC120LC1BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 32K SRAM 4K, LQFP48 package

config ARCH_CHIP_NUC120LD1BN
	bool "NUC120LD1BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 64K SRAM 4K, LQFP48 package

config ARCH_CHIP_NUC120LD2BN
	bool "NUC120LD2BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 64K SRAM 8K, LQFP48 package

config ARCH_CHIP_NUC120RC1BN
	bool "NUC120RC1BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 32K SRAM 4K, LQFP64 package

config ARCH_CHIP_NUC120RD1BN
	bool "NUC120RD1BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 64K SRAM 4K, LQFP64 package

config ARCH_CHIP_NUC120RD2BN
	bool "NUC120RD2BN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_LOWDENSITY
	---help---
		Nuvoton NUC120 low density chip: Flash 64K SRAM 8K, LQFP64 package

config ARCH_CHIP_NUC120LD3AN
	bool "NUC120LD3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC120 medium density chip: Flash 64K SRAM 16K, LQFP48 package

config ARCH_CHIP_NUC120LE3AN
	bool "NUC120LE3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC120 medium density chip: Flash 128K SRAM 16K, LQFP48 package

config ARCH_CHIP_NUC120RD3AN
	bool "NUC120RD3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC120 medium density chip: Flash 64K SRAM 16K, LQFP64 package

config ARCH_CHIP_NUC120RE3AN
	bool "NUC120RE3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	---help---
		Nuvoton NUC120 medium density chip: Flash 128K SRAM 16K, LQFP64 package

config ARCH_CHIP_NUC120VD2AN
	bool "NUC120VD2AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC120 medium density chip: Flash 64K SRAM 8K, LQFP100 package

config ARCH_CHIP_NUC120VD3AN
	bool "NUC120VD3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC120 medium density chip: Flash 64K SRAM 16K, LQFP100 package

config ARCH_CHIP_NUC120VE3AN
	bool "NUC120VE3AN"
	select ARCH_FAMILY_NUC120
	select ARCH_NUC_MEDIUMDENSITY
	select NUC_HAVE_UART2
	---help---
		Nuvoton NUC120 medium density chip: Flash 128K SRAM 16K, LQFP100 package

endchoice

config ARCH_FAMILY_NUC100
	bool

config ARCH_FAMILY_NUC120
	bool

config ARCH_NUC_LOWDENSITY
	bool

config ARCH_NUC_MEDIUMDENSITY
	bool

config NUC_HAVE_UART2
	bool

menu "NUC1XX Peripheral Support"

config NUC_PDMA
	bool "Peripheral DMA"
	default n

config NUC_FMC
	bool "Flash memory"
	default n

config NUC_EBI
	bool "External bus interface"
	default n

config NUC_WDT
	bool "Watchdog timer"
	default n

config NUC_RTC
	bool "Real time clock (RTC)"
	default n

config NUC_TMR0
	bool "Timer0"
	default n

config NUC_TMR1
	bool "Timer1"
	default n

config NUC_TIMR2
	bool "Timer2"
	default n

config NUC_TIMR3
	bool "Timer3"
	default n

config NUC_I2C0
	bool "I2C0 interface"
	default n

config NUC_I2C1
	bool "I2C1 interface"
	default n

config NUC_SPI0
	bool "SPI0 master/slave"
	default n

config NUC_SPI1
	bool "SPI1 master/slave"
	default n

config NUC_SPI2
	bool "SPI2 master/slave"
	default n

config NUC_SPI3
	bool "SPI3 master/slave"
	default n

config NUC_PWM0
	bool "PWM0"
	default n

config NUC_PWM1
	bool "PWM1"
	default n

config NUC_PWM2
	bool "PWM2"
	default n

config NUC_PWM3
	bool "PWM3"
	default n

config NUC_PWM4
	bool "PWM4"
	default n

config NUC_PWM5
	bool "PWM5"
	default n

config NUC_PWM6
	bool "PWM6"
	default n

config NUC_PWM7
	bool "PWM7"
	default n

config NUC_UART0
	bool "UART0"
	default y
	select ARCH_HAVE_UART0

config NUC_UART1
	bool "UART1"
	default n
	select ARCH_HAVE_UART1

config NUC_UART2
	bool "UART2"
	default n
	depends on NUC_HAVE_UART1
	select ARCH_HAVE_UART2

config NUC_USBD
	bool "USB 2.0 FS device controller"
	default n
	depends on ARCH_FAMILY_NUC120

config NUC_ACMP
	bool "Analog comparator"
	default n

config NUC_ADC
	bool "Analog-digital-converter (ADC)"
	default n

config NUC_PS2
	bool "PS/2 interface"
	default n

config NUC_I2S
	bool "I2S interface"
	default n

endmenu