blob: 5f101bc9c01aa6dbe565d4f2a0d6ca770a7af279 (
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
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
|
menu "Hardware Drivers Config"
config SOC_HPM6000
bool
select SOC_SERIES_HPM6000
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config BSP_USING_ENET_PHY_DP83867
bool
default n
config BSP_USING_ENET_PHY_DP83848
bool
default n
if BSP_USING_ETH
config LWIP_SUPPORT_CUSTOM_PBUF
int
default 1
endif
menu "On-chip Peripheral Drivers"
config BSP_USING_GPIO
bool "Enable GPIO"
select RT_USING_PIN if BSP_USING_GPIO
default n
if BSP_USING_GPIO
config BSP_GPIO_IRQ_PRIORITY
int "GPIO Interrupt Priority"
range 1 7
default 1
endif
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL
if BSP_USING_UART
menuconfig BSP_USING_UART0
bool "Enable UART0 (Debugger)"
default y
if BSP_USING_UART0
config BSP_UART0_RX_USING_DMA
bool "Enable UART0 RX DMA"
depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA
default n
config BSP_UART0_TX_USING_DMA
bool "Enable UART0 TX DMA"
depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA
default n
config BSP_UART0_RX_BUFSIZE
int "Set UART0 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 128
config BSP_UART0_TX_BUFSIZE
int "Set UART0 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif
menuconfig BSP_USING_UART6
bool "Enable UART6"
default n
if BSP_USING_UART6
config BSP_UART6_RX_USING_DMA
bool "Enable UART6 RX DMA"
depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
default n
config BSP_UART6_TX_USING_DMA
bool "Enable UART6 TX DMA"
depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
default n
config BSP_UART6_RX_BUFSIZE
int "Set UART6 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 128
config BSP_UART6_TX_BUFSIZE
int "Set UART6 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif
menuconfig BSP_USING_UART13
bool "Enable UART13"
default y
if BSP_USING_UART13
config BSP_UART13_RX_USING_DMA
bool "Enable UART13 RX DMA"
depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA
default n
config BSP_UART13_TX_USING_DMA
bool "Enable UART13 TX DMA"
depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA
default n
config BSP_UART13_RX_BUFSIZE
int "Set UART13 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 128
config BSP_UART13_TX_BUFSIZE
int "Set UART13 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif
menuconfig BSP_USING_UART14
bool "Enable UART14"
default n
if BSP_USING_UART14
config BSP_UART14_RX_USING_DMA
bool "Enable UART14 RX DMA"
depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA
default n
config BSP_UART14_TX_USING_DMA
bool "Enable UART14 TX DMA"
depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA
default n
config BSP_UART14_RX_BUFSIZE
int "Set UART14 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 128
config BSP_UART14_TX_BUFSIZE
int "Set UART14 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif
endif
menuconfig BSP_USING_SPI
bool "Enable SPI"
default n
select RT_USING_SPI if BSP_USING_SPI
if BSP_USING_SPI
config BSP_USING_SPI1
bool "Enable SPI1"
default y
if BSP_USING_SPI1
config BSP_SPI1_USING_DMA
bool "Enable SPI1 DMA"
default n
choice
prompt "Select SPI1 CS TYPE"
default BSP_SPI1_USING_SOFT_CS
config BSP_SPI1_USING_SOFT_CS
bool "Enable SPI1 software cs"
config BSP_SPI1_USING_HARD_CS
bool "Enable SPI1 hardware cs"
endchoice
endif
config BSP_USING_SPI2
bool "Enable SPI2"
default n
if BSP_USING_SPI2
config BSP_SPI2_USING_DMA
bool "Enable SPI2 DMA"
default n
choice
prompt "Select SPI2 CS TYPE"
default BSP_SPI2_USING_SOFT_CS
config BSP_SPI2_USING_SOFT_CS
bool "Enable SPI2 software cs"
config BSP_SPI2_USING_HARD_CS
bool "Enable SPI2 hardware cs"
endchoice
endif
config BSP_USING_SPI3
bool "Enable SPI3"
default n
if BSP_USING_SPI3
config BSP_SPI3_USING_DMA
bool "Enable SPI3 DMA"
default n
choice
prompt "Select SPI3 CS TYPE"
default BSP_SPI3_USING_SOFT_CS
config BSP_SPI3_USING_SOFT_CS
bool "Enable SPI3 software cs"
config BSP_SPI3_USING_HARD_CS
bool "Enable SPI3 hardware cs"
endchoice
endif
endif
menuconfig BSP_USING_RTC
bool "Enable RTC"
default n
select RT_USING_RTC if BSP_USING_RTC
menuconfig BSP_USING_ETH
bool "Enable Ethernet"
default n
select RT_USING_ETH if BSP_USING_ETH
select RT_USING_PHY if BSP_USING_ETH
if BSP_USING_ETH
config BSP_USING_ETH0
bool "Enable ETH0"
default y
select BSP_USING_ENET_PHY_DP83867
config BSP_USING_ETH1
bool "Enable ETH1"
default n
select BSP_USING_ENET_PHY_DP83848
endif
menuconfig BSP_USING_SDXC
bool "Enable SDXC"
default n
select RT_USING_SDIO if BSP_USING_SDXC
select RT_USING_PIN if BSP_USING_SDXC
if BSP_USING_SDXC
config BSP_USING_SDXC0
bool "Enable SDXC0"
default n
if BSP_USING_SDXC0
config BSP_SDXC0_ENABLE_INTERRUPT_DRIVEN
bool "Enable Interrupt-driven mode"
default n
config BSP_SDXC0_REQUIRE_CACHELINE_ALIGNED_BUF
bool "Always require cache-line aligned buffer"
default n
config BSP_SDXC0_IRQ_PRIORITY
int "SDXC Interrupt Priority"
range 1 7
default 1
choice
prompt "Select BUS_WIDTH"
default BSP_SDXC0_BUS_WIDTH_8BIT
config BSP_SDXC0_BUS_WIDTH_1BIT
bool "1-bit"
config BSP_SDXC0_BUS_WIDTH_4BIT
bool "4-bit"
config BSP_SDXC0_BUS_WIDTH_8BIT
bool "8-bit"
endchoice
choice
prompt "Select Voltage"
default BSP_SDXC0_VOLTAGE_3V3
config BSP_SDXC0_VOLTAGE_3V3
bool "3.3V"
config BSP_SDXC0_VOLTAGE_1V8
bool "1.8V"
config BSP_SDXC0_VOLTAGE_DUAL
bool "Dual voltage 3.3V / 1.8V"
endchoice
config BSP_SDXC0_VSEL_PIN
default "None"
string "VSEL pin name"
config BSP_SDXC0_PWR_PIN
default "None"
string "PWR pin name"
endif
config BSP_USING_SDXC1
bool "Enable SDXC1"
default n
if BSP_USING_SDXC1
config BSP_SDXC1_ENABLE_INTERRUPT_DRIVEN
bool "Enable Interrupt-driven mode"
default n
config BSP_SDXC1_REQUIRE_CACHELINE_ALIGNED_BUF
bool "Always require cache-line aligned buffer"
default n
config BSP_SDXC1_IRQ_PRIORITY
int "SDXC Interrupt Priority"
range 1 7
default 1
choice
prompt "Select BUS_WIDTH"
default BSP_SDXC1_BUS_WIDTH_4BIT
config BSP_SDXC1_BUS_WIDTH_1BIT
bool "1-bit"
config BSP_SDXC1_BUS_WIDTH_4BIT
bool "4-bit"
endchoice
choice
prompt "Select Voltage"
default BSP_SDXC1_VOLTAGE_3V3
config BSP_SDXC1_VOLTAGE_3V3
bool "3.3V"
config BSP_SDXC1_VOLTAGE_1V8
bool "1.8V"
config BSP_SDXC1_VOLTAGE_DUAL
bool "Dual voltage 3.3V / 1.8V"
endchoice
config BSP_SDXC1_VSEL_PIN
default "None"
string "VSEL pin name"
config BSP_SDXC1_PWR_PIN
default "None"
string "PWR pin name"
endif
endif
menuconfig BSP_USING_TOUCH
bool "Enable touch"
default n
if BSP_USING_TOUCH
config BSP_USING_TOUCH_GT9xx
bool "Enable GT9xx"
default y
config BSP_USING_TOUCH_FT5406
bool "Enable FT5406"
default n
endif
menuconfig BSP_USING_LCD
bool "Enable LCD"
default n
if BSP_USING_LCD
config BSP_USING_LCD_ISR
bool "Enable LCD interrupt"
default n
endif
menuconfig BSP_USING_LVGL
bool "Enable LVGL"
default n
select PKG_USING_LVGL if BSP_USING_LVGL
select BSP_USING_PDMA if BSP_USING_LVGL
menuconfig BSP_USING_PDMA
bool "Enable PDMA Driver"
default n
menuconfig BSP_USING_GPTMR
bool "Enable GPTMR"
default n
select RT_USING_CLOCK_TIME if BSP_USING_GPTMR
if BSP_USING_GPTMR
config BSP_USING_GPTMR1
bool "Enable GPTMR1"
default n
config BSP_USING_GPTMR2
bool "Enable GPTMR2"
default n
config BSP_USING_GPTMR3
bool "Enable GPTMR3"
default n
config BSP_USING_GPTMR4
bool "Enable GPTMR4"
default n
config BSP_USING_GPTMR5
bool "Enable GPTMR5"
default n
config BSP_USING_GPTMR6
bool "Enable GPTMR6"
default n
config BSP_USING_GPTMR7
bool "Enable GPTMR7"
default n
endif
menuconfig BSP_USING_I2C
bool "Enable I2C"
default n
select RT_USING_I2C if BSP_USING_I2C
if BSP_USING_I2C
config BSP_USING_I2C0
bool "Enable I2C0"
default y
endif
if BSP_USING_I2C0
config BSP_I2C0_USING_DMA
bool "Enable I2C0 DMA"
default n
endif
menuconfig BSP_USING_FEMC
bool "Enable DRAM"
default y
menuconfig INIT_EXT_RAM_FOR_DATA
bool "INIT_EXT_RAM_FOR_DATA"
default y
menuconfig BSP_USING_XPI_FLASH
bool "Enable XPI FLASH"
default n
select RT_USING_FAL if BSP_USING_XPI_FLASH
menuconfig BSP_USING_PWM
bool "Enable PWM"
default n
select RT_USING_PWM
menuconfig BSP_USING_DAO
bool "Enable Audio DAO play"
default n
select RT_USING_AUDIO if BSP_USING_DAO
menuconfig BSP_USING_PDM
bool "Enable Audio PDM record"
default n
select RT_USING_AUDIO if BSP_USING_PDM
menuconfig BSP_USING_I2S
bool "Enable Audio I2S device"
default n
select RT_USING_AUDIO if BSP_USING_I2S
if BSP_USING_I2S
config BSP_USING_I2S0
bool "Enable I2S0"
default y
config BSP_USING_AUDIO_CODEC_SGTL5000
bool "Enable audio codec on board"
default y
endif
menuconfig BSP_USING_USB
bool "Enable USB"
default n
if BSP_USING_USB
config BSP_USING_USB_DEVICE
bool "Enable USB Device"
default n
config BSP_USING_USB_HOST
bool "Enable USB Host"
select RT_USING_CACHE
default n
endif
menuconfig BSP_USING_WDG
bool "Enable Watchdog"
default n
select RT_USING_WDT if BSP_USING_WDG
if BSP_USING_WDG
config BSP_USING_WDG0
bool "Enable WDG0"
default n
config BSP_USING_WDG1
bool "Enable WDG1"
default n
config BSP_USING_WDG2
bool "Enable WDG2"
default n
config BSP_USING_WDG3
bool "Enable WDG3"
default n
endif
menuconfig BSP_USING_CAN
bool "Enable CAN"
default n
select RT_USING_CAN if BSP_USING_CAN
if BSP_USING_CAN
config BSP_USING_CAN0
bool "Enable CAN0"
default n
config BSP_USING_CAN1
bool "Enable CAN1"
default n
config BSP_USING_CAN2
bool "Enable CAN2"
default n
config BSP_USING_CAN3
bool "Enable CAN3"
default n
endif
menuconfig BSP_USING_ADC
bool "Enable ADC"
default n
select RT_USING_ADC
if BSP_USING_ADC
menuconfig BSP_USING_ADC12
bool "Enable ADC12"
default n
if BSP_USING_ADC12
config BSP_USING_ADC0
bool "Enable ADC0"
default n
config BSP_USING_ADC1
bool "Enable ADC1"
default n
config BSP_USING_ADC2
bool "Enable ADC2"
default n
endif
menuconfig BSP_USING_ADC16
bool "Enable ADC16"
default n
if BSP_USING_ADC16
config BSP_USING_ADC3
bool "Enable ADC3"
default n
endif
endif
menuconfig BSP_USING_CAMERA
bool "Enable camera"
default n
if BSP_USING_CAMERA
config BSP_USING_CAMERA_MT9M114
bool "Enable mt9m114"
default y
config BSP_USING_CAMERA_OV5640
bool "Enable ov5640"
default n
config BSP_USING_CAMERA_OV7725
bool "Enable ov7725"
default n
endif
menuconfig BSP_USING_JPEG
bool "Enable JPEG Driver"
default n
menuconfig BSP_USING_CAM
bool "Enable CAM Driver"
default n
menuconfig BSP_USING_PANEL
bool "Enable panel"
default n
if BSP_USING_PANEL
config BSP_USEING_PANEL_RGB_TM070RDH13
bool "Enable RGB TM070RDH13"
default y
endif
menuconfig BSP_USING_RTT_LCD_DRIVER
bool "Enable RTT LCD Driver"
select BSP_USING_LCD
default n
endmenu
menu "HPMicro Interrupt Config"
endmenu
menu "HPMicro RT-Thread Interrupt Framework"
endmenu
menu "HPMicro Use Generic Startup Implementation"
config HPM_BSP_USING_GENERIC_STARTUP
bool "Enable this to use the common/startup/generic implementation"
default n
depends on HPM_USING_RTTHREAD_INTERRUPT_FRAMEWORK
help
Enable this to use the common/startup/generic implementation.
This option is only available when RT-Thread Interrupt Framework is enabled.
endmenu
endmenu
menu "Third-Party Add-ons"
menu "Segger SystemView Config"
config BSP_USING_SYSTEMVIEW
select RT_USING_SYSTEMVIEW
select RT_USING_LEGACY
bool "Enable Segger SystemView"
default n
if BSP_USING_SYSTEMVIEW
menuconfig BSP_SYSTEMVIEW_RTT_SECTION
bool "enable SystemView RTT section"
default y
if BSP_SYSTEMVIEW_RTT_SECTION
config SEGGER_RTT_SECTION
string "segger rtt section"
default ".noncacheable.bss"
config SEGGER_RTT_BUFFER_SECTION
string "segger rtt buffer section"
default ".noncacheable.bss"
config SEGGER_SYSVIEW_SECTION
string "segger sysview section"
default ".noncacheable.bss"
endif
endif
endmenu
endmenu
|