|
@@ -1,13 +1,25 @@
|
|
|
+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"
|
|
|
config RT_USING_UART0
|
|
|
bool "Enable UART0"
|
|
|
- default n
|
|
|
+ default y
|
|
|
|
|
|
config RT_USING_UART1
|
|
|
bool "Enable UART1"
|
|
|
default y
|
|
|
|
|
|
config BSP_USING_LVGL
|
|
|
- bool "Enable LVGL"
|
|
|
+ bool "Enable LVGL for LCD"
|
|
|
+ select PKG_USING_LVGL
|
|
|
default n
|
|
|
|
|
|
config BSP_DRV_CLCD
|
|
@@ -22,20 +34,26 @@ config BSP_DRV_MOUSE
|
|
|
|
|
|
if BSP_DRV_CLCD
|
|
|
config BSP_LCD_WIDTH
|
|
|
- int "Width of LCD panel"
|
|
|
- default 640
|
|
|
+ int "Width of LCD panel"
|
|
|
+ default 640
|
|
|
|
|
|
config BSP_LCD_HEIGHT
|
|
|
- int "Height of LCD panel"
|
|
|
- default 480
|
|
|
+ int "Height of LCD panel"
|
|
|
+ default 480
|
|
|
endif
|
|
|
|
|
|
config BSP_DRV_EMAC
|
|
|
- bool "EMAC driver"
|
|
|
- depends on RT_USING_LWIP
|
|
|
- default y
|
|
|
+ bool "Enable EMAC driver"
|
|
|
+ select RT_USING_LWIP
|
|
|
+ select RT_USING_SAL
|
|
|
+ select SAL_USING_POSIX
|
|
|
+ default n
|
|
|
|
|
|
config BSP_DRV_AUDIO
|
|
|
bool "Audio driver"
|
|
|
select RT_USING_AUDIO
|
|
|
default n
|
|
|
+
|
|
|
+endmenu
|
|
|
+
|
|
|
+endmenu
|