2021-12-10 03:06:28 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_VEXPRESS_A9
|
|
|
|
bool
|
|
|
|
select ARCH_ARM_CORTEX_A9
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
select RT_USING_GIC_V2
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
2017-09-19 12:14:52 +08:00
|
|
|
config RT_USING_UART0
|
|
|
|
bool "Enable UART0"
|
2021-12-10 03:06:28 +08:00
|
|
|
default y
|
2017-09-19 12:14:52 +08:00
|
|
|
|
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Enable UART1"
|
|
|
|
default y
|
2017-10-21 23:26:30 +08:00
|
|
|
|
2021-12-15 11:05:06 +08:00
|
|
|
config BSP_USING_LVGL
|
|
|
|
bool "Enable LVGL for LCD"
|
|
|
|
select PKG_USING_LVGL
|
|
|
|
select BSP_DRV_CLCD
|
|
|
|
select BSP_DRV_MOUSE
|
|
|
|
default n
|
|
|
|
|
2022-05-11 11:42:12 +08:00
|
|
|
if BSP_USING_LVGL
|
|
|
|
config BSP_USING_LVGL_DEMO
|
|
|
|
bool "Enable LVGL demo"
|
|
|
|
select PKG_USING_LV_MUSIC_DEMO
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2017-10-21 23:26:30 +08:00
|
|
|
config BSP_DRV_CLCD
|
|
|
|
bool "CLCD driver"
|
2021-12-15 03:53:55 +08:00
|
|
|
default n
|
2021-12-09 11:23:50 +08:00
|
|
|
|
|
|
|
config BSP_DRV_MOUSE
|
|
|
|
bool "MOUSE driver"
|
2021-12-15 03:53:55 +08:00
|
|
|
default n
|
2017-10-21 23:26:30 +08:00
|
|
|
|
2018-07-15 15:14:54 +08:00
|
|
|
if BSP_DRV_CLCD
|
|
|
|
config BSP_LCD_WIDTH
|
2021-12-10 03:06:28 +08:00
|
|
|
int "Width of LCD panel"
|
|
|
|
default 640
|
2018-07-15 15:14:54 +08:00
|
|
|
|
|
|
|
config BSP_LCD_HEIGHT
|
2021-12-10 03:06:28 +08:00
|
|
|
int "Height of LCD panel"
|
|
|
|
default 480
|
2018-07-15 15:14:54 +08:00
|
|
|
endif
|
|
|
|
|
2017-10-21 23:26:30 +08:00
|
|
|
config BSP_DRV_EMAC
|
2021-12-10 03:06:28 +08:00
|
|
|
bool "Enable EMAC driver"
|
|
|
|
select RT_USING_LWIP
|
2022-03-29 13:39:55 +08:00
|
|
|
select RT_USING_POSIX_FS
|
|
|
|
select RT_USING_POSIX_SOCKET
|
2021-12-10 03:06:28 +08:00
|
|
|
default n
|
2018-05-29 10:55:42 +08:00
|
|
|
|
|
|
|
config BSP_DRV_AUDIO
|
|
|
|
bool "Audio driver"
|
|
|
|
select RT_USING_AUDIO
|
|
|
|
default n
|
2021-12-10 03:06:28 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|