blob: 1e2f67b989e94fab55add04026e54ee120d5dbde (
plain)
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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
|
menu "Hardware Drivers"
config DRV_DEBUG
bool "Enable drivers debug"
default n
menu "On-chip Peripheral Drivers"
config BSP_USING_DRIVERS_EXAMPLE
bool "Enable drivers example"
default n
if BSP_USING_DRIVERS_EXAMPLE
config BSP_USING_DRIVERS_AUTO_TEST
bool "Enable drivers example"
default n
endif
config BSP_USING_IOPAD
bool "Enable IOPAD"
default y
menuconfig BSP_USING_UART_LAYER
bool "Enable Uart Layer"
default n
select USE_SERIAL # sdk serial component
select RT_USING_SERIAL
if BSP_USING_UART_LAYER
choice
prompt "Select Uart Mode"
config BSP_USING_UART
bool "Standard Uart"
help
Use standard uart communication mode
config BSP_USING_UART_MSG
bool "message-based Uart"
help
Use message-based uart communication
endchoice
if BSP_USING_UART
config RT_USING_UART0
bool "Enable UART0"
default n
config RT_USING_UART1
bool "Enable UART1"
default y
config RT_USING_UART2
bool "Enable UART2"
default n
config RT_USING_UART3
bool "Enable UART3"
default n
endif
if BSP_USING_UART_MSG
config RT_USING_UART0_MSG
bool "Enable UART0_MSG"
default n
config RT_USING_UART1_MSG
bool "Enable UART1_MSG"
default n
config RT_USING_UART2_MSG
bool "Enable UART2_MSG"
default y
endif
endif
menuconfig BSP_USING_SPI_LAYER
menuconfig BSP_USING_SPI_LAYER
bool "Enable SPI Layer"
default n
select RT_USING_SPI
if BSP_USING_SPI_LAYER
choice
prompt "Select SPI Mode"
config BSP_USING_SPI
bool "Standard SPI"
help
Use standard SPI communication mode
config BSP_USING_SPI_MSG
bool "IOP message-based SPI"
help
Use IOP message-based SPI communication
endchoice
if BSP_USING_SPI
config RT_USING_SPIM0
bool "Enable SPIM0"
default n
config RT_USING_SPIM1
bool "Enable SPIM1"
default n
config RT_USING_SPIM2
bool "Enable SPIM2"
default n
config RT_USING_SPIM3
bool "Enable SPIM3"
default n
endif
if BSP_USING_SPI_MSG
config RT_USING_SPIM0_MSG
bool "Enable SPIM0_MSG"
default n
config RT_USING_SPIM1_MSG
bool "Enable SPIM1_MSG"
default n
config RT_USING_SPIM2_MSG
bool "Enable SPIM2_MSG"
default n
config RT_USING_SPIM3_MSG
bool "Enable SPIM3_MSG"
default n
endif
endif
menuconfig BSP_USING_I2C_LAYER
bool "Enable I2C Layer"
default n
select RT_USING_I2C
if BSP_USING_I2C_LAYER
choice
prompt "Select I2C Mode"
config BSP_USING_I2C
bool "Standard I2C"
help
Use standard I2C communication mode
config BSP_USING_I2C_MSG
bool "IOP message-based I2C"
help
Use IOP message-based I2C communication
endchoice
if BSP_USING_I2C
config I2C_USE_MIO
bool "using i2c mio"
default n
select USE_MIO
select ENABLE_MIO
if I2C_USE_MIO
config RT_USING_MIO0
bool "Enable mio0"
default n
config RT_USING_MIO1
bool "Enable mio1"
default n
config RT_USING_MIO2
bool "Enable mio2"
default n
config RT_USING_MIO3
bool "Enable mio3"
default n
config RT_USING_MIO4
bool "Enable mio4"
default n
config RT_USING_MIO5
bool "Enable mio5"
default n
config RT_USING_MIO6
bool "Enable mio6"
default n
config RT_USING_MIO7
bool "Enable mio7"
default n
config RT_USING_MIO8
bool "Enable mio8"
default n
config RT_USING_MIO9
bool "Enable mio9"
default n
config RT_USING_MIO10
bool "Enable mio10"
default n
config RT_USING_MIO11
bool "Enable mio11"
default n
config RT_USING_MIO12
bool "Enable mio12"
default n
config RT_USING_MIO13
bool "Enable mio13"
default n
config RT_USING_MIO14
bool "Enable mio14"
default n
config RT_USING_MIO15
bool "Enable mio15"
default n
endif
config I2C_USE_CONTROLLER
bool "using i2c controller"
default n
if I2C_USE_CONTROLLER
config RT_USING_I2C0
bool "Enable i2c0"
default n
config RT_USING_I2C1
bool "Enable i2c1"
default n
config RT_USING_I2C2
bool "Enable i2c2"
default n
config RT_USING_I2C3
bool "Enable i2c3"
default n
endif
endif
if BSP_USING_I2C_MSG
config RT_USING_I2C0_MSG
bool "Enable i2c0 msg"
default n
config RT_USING_I2C1_MSG
bool "Enable i2c1 msg"
default n
config RT_USING_I2C2_MSG
bool "Enable i2c2 msg"
default n
config RT_USING_I2C3_MSG
bool "Enable i2c3 msg"
default n
endif
endif
menuconfig BSP_USING_CAN
bool "Enable CAN"
default n
select RT_USING_CAN
if BSP_USING_CAN
config RT_USING_CANFD
bool "Enable canfd"
select RT_CAN_USING_CANFD
default n
config RT_USING_FILTER
bool "Enable can filter"
select RT_CAN_USING_HDR
default n
config RT_USING_CAN0
bool "Enable can0"
default n
config RT_USING_CAN1
bool "Enable can1"
default n
endif
menuconfig BSP_USING_GPIO
bool "Enable GPIO"
default n
select RT_USING_PIN
menuconfig BSP_USING_QSPI
bool "Enable QSPI"
default n
select RT_USING_QSPI
select RT_USING_SPI
select RT_USING_PIN
if BSP_USING_QSPI
config RT_USING_QSPI0
bool "Enable qspi0"
default n
if RT_USING_QSPI0
config USING_QSPI_CHANNEL0
bool "using qspi channel_0"
default n
config USING_QSPI_CHANNEL1
bool "using qspi channel_1"
default n
endif
endif
menuconfig BSP_USING_ETH_LAYER
bool "Enable ETH Layer"
default n
if BSP_USING_ETH_LAYER
config RT_LWIP_PBUF_POOL_BUFSIZE
int "The size of each pbuf in the pbuf pool"
range 1500 2000
default 1700
choice
prompt "Select ETH Mode"
config BSP_USING_ETH
bool "Standard ETH"
help
Use standard ETH communication mode
config BSP_USING_ETH_MSG
bool "IOP message-based ETH"
help
Use IOP message-based ETH communication
endchoice
if BSP_USING_ETH
config RT_USING_XMAC0
bool "Enable XMAC0"
default n
config RT_USING_XMAC1
bool "Enable XMAC1"
default n
config RT_USING_XMAC2
bool "Enable XMAC2"
default n
config RT_USING_XMAC3
bool "Enable XMAC3"
default n
endif
if BSP_USING_ETH_MSG
config RT_USING_XMAC0_MSG
bool "Enable XMAC0_MSG"
default n
config RT_USING_XMAC1_MSG
bool "Enable XMAC1_MSG"
default n
config RT_USING_XMAC2_MSG
bool "Enable XMAC2_MSG"
default n
config RT_USING_XMAC3_MSG
bool "Enable XMAC3_MSG"
default n
endif
endif
menuconfig BSP_USING_PWM
bool "Enable PWM"
default n
select RT_USING_PWM
if BSP_USING_PWM
config RT_USING_PWM0
bool "Enable pwm0"
default n
config RT_USING_PWM1
bool "Enable pwm1"
default n
config RT_USING_PWM2
bool "Enable pwm2"
default n
config RT_USING_PWM3
bool "Enable pwm3"
default n
config RT_USING_PWM4
bool "Enable pwm4"
default n
config RT_USING_PWM5
bool "Enable pwm5"
default n
config RT_USING_PWM6
bool "Enable pwm6"
default n
config RT_USING_PWM7
bool "Enable pwm7"
default n
endif
menuconfig BSP_USING_SDIF_LAYER
bool "Enable SDIF Layer"
default n
select RT_USING_SDIO
if BSP_USING_SDIF_LAYER
config BSP_USING_SDCARD_FATFS
bool "Enable SDCARD (FATFS)"
select RT_USING_DFS_ELMFAT
default n
choice
prompt "Select SD Mode"
default BSP_USING_SDIF
config BSP_USING_SDIF
bool "Standard SD"
help
Use standard SD protocol
config BSP_USING_SDIF_MSG
bool "Message-based SD"
help
Use message-based SD communication
endchoice
if (BSP_USING_SDIF || BSP_USING_SDIF_MSG)
config USING_SDIF0
bool "Use SDIF0"
default n
if USING_SDIF0
choice
prompt "Select SD0 Usage"
default USE_SDIF0_TF
config USE_SDIF0_TF
bool "SD0(TF)"
config USE_SDIF0_EMMC
bool "SD0(eMMC)"
endchoice
endif
endif
if (BSP_USING_SDIF)
config USING_SDIF1
bool "Use SDIF1"
default n
if USING_SDIF1
choice
prompt "Select SD1 Usage"
default USE_SDIF1_TF
config USE_SDIF1_TF
bool "SD1(TF)"
config USE_SDIF1_EMMC
bool "SD1(eMMC)"
endchoice
endif
endif
endif
menuconfig BSP_USING_DC
bool "Enable DC"
default n
select RT_USING_DC
if BSP_USING_DC
config RT_USING_DC_CHANNEL0
bool "using dc channel_0"
default n
config RT_USING_DC_CHANNEL1
bool "using dc channel_1"
default n
endif
menuconfig BSP_USING_I2S
bool "Enable I2S"
default n
select RT_USING_AUDIO
select BSP_USING_DEVICE
if BSP_USING_I2S
config RT_I2S_SAMPLERATE
int "The samplerate param"
default 8000
config RT_I2S_SAMPLEBITS
int "The samplebits param"
default 16
config RT_USING_I2S0
bool "Enable i2s0"
default n
endif
menuconfig BSP_USING_DEVICE
bool "Enable Device"
default n
if BSP_USING_DEVICE
config BSP_USING_ES8336
bool "Enable ES8336"
default n
config BSP_USING_ES8388
bool "Enable ES8388"
default n
endif
endmenu
menu "Board extended module Drivers"
endmenu
endmenu
|