2022-03-11 12:13:56 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
|
|
|
|
config BSP_USING_HYPERFLASH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_4MFLASH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SOC_MIMXRT1062DVL6A
|
|
|
|
bool
|
|
|
|
select SOC_MIMXRT1062_SERIES
|
|
|
|
select BSP_USING_4MFLASH
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2022-05-04 14:39:06 +08:00
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_SDRAM
|
|
|
|
bool "Enable SDRAM"
|
2022-03-11 12:13:56 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
menuconfig BSP_USING_LCD
|
|
|
|
bool "Enable LCD"
|
|
|
|
default n
|
|
|
|
if BSP_USING_LCD
|
|
|
|
config LCD_WIDTH
|
|
|
|
int "width"
|
|
|
|
default 480
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_HEIGHT
|
|
|
|
int "height"
|
|
|
|
default 272
|
|
|
|
|
|
|
|
config LCD_HFP
|
|
|
|
int "HFP"
|
|
|
|
default 4
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_VFP
|
|
|
|
int "VFP"
|
|
|
|
default 4
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_HBP
|
|
|
|
int "HBP"
|
|
|
|
default 8
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_VBP
|
|
|
|
int "VBP"
|
|
|
|
default 2
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_HSW
|
|
|
|
int "HSW"
|
|
|
|
default 40
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_VSW
|
|
|
|
int "VSW"
|
|
|
|
default 10
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_BL_PIN
|
|
|
|
int "Backlight ctrl pin"
|
|
|
|
default 63
|
2022-05-06 02:21:21 +08:00
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
config LCD_RST_PIN
|
|
|
|
int "Reset pin"
|
|
|
|
default 2
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BSP_USING_LVGL
|
|
|
|
bool "Enable LVGL for LCD"
|
2022-05-04 14:39:06 +08:00
|
|
|
select BSP_USING_PXP
|
|
|
|
select BSP_USING_CACHE
|
2022-03-11 12:13:56 +08:00
|
|
|
select BSP_USING_LCD
|
|
|
|
select PKG_USING_LVGL
|
|
|
|
default n
|
|
|
|
|
2022-05-06 02:21:21 +08:00
|
|
|
if BSP_USING_LVGL
|
|
|
|
config BSP_USING_LVGL_DEMO
|
|
|
|
bool "Enable LVGL demo"
|
|
|
|
select PKG_USING_LV_MUSIC_DEMO
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_LVGL_SQUARELINE
|
|
|
|
bool "Support LVGL SuqareLine Studio"
|
|
|
|
default n
|
|
|
|
endif
|
2022-03-11 12:13:56 +08:00
|
|
|
endmenu
|
|
|
|
|
2022-05-04 14:39:06 +08:00
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menuconfig BSP_USING_LPUART
|
|
|
|
bool "Enable UART"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
|
|
|
if BSP_USING_LPUART
|
|
|
|
config BSP_USING_LPUART1
|
|
|
|
bool "Enable LPUART1"
|
|
|
|
default y
|
|
|
|
config BSP_USING_LPUART2
|
|
|
|
bool "Enable LPUART2"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART3
|
|
|
|
bool "Enable LPUART3"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART4
|
|
|
|
bool "Enable LPUART4"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART5
|
|
|
|
bool "Enable LPUART5"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART6
|
|
|
|
bool "Enable LPUART6"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART7
|
|
|
|
bool "Enable LPUART7"
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART8
|
|
|
|
bool "Enable LPUART8"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BSP_USING_PXP
|
|
|
|
bool "Enable PXP"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_CACHE
|
|
|
|
bool "Enable CACHE"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|