提交 907ee070 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

[imxrt1060] exchange On-chip Peripheral Drivers and Onboard Peripheral Drivers menu in Kconfig

上级 b077e91c
......@@ -26,8 +26,8 @@ static lv_disp_draw_buf_t disp_buf;
static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
/* Macros for panel. */
#define LCD_WIDTH 480
#define LCD_HEIGHT 272
#define LCD_WIDTH LV_HOR_RES_MAX
#define LCD_HEIGHT LV_VER_RES_MAX
#define LCD_FB_BYTE_PER_PIXEL 2
#define LCD_HSW 41
#define LCD_HFP 4
......@@ -227,9 +227,9 @@ void lv_port_disp_init(void)
/*Used to copy the buffer's content to the display*/
disp_drv.flush_cb = lcd_fb_flush;
#if LV_USE_GPU_NXP_PXP
#if LV_USE_GPU_NXP_PXP
disp_drv.clean_dcache_cb = DEMO_CleanInvalidateCache;
#endif
#endif
/*Set a display buffer*/
disp_drv.draw_buf = &disp_buf;
......
......@@ -17,50 +17,10 @@ config SOC_MIMXRT1062DVL6A
select RT_USING_USER_MAIN
default y
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"
menu "Onboard Peripheral Drivers"
config BSP_USING_SDRAM
bool "Enable SDRAM"
default n
menuconfig BSP_USING_LCD
......@@ -100,26 +60,66 @@ menu "On-chip Peripheral Drivers"
int "Reset pin"
default 2
endif
endmenu
menu "Onboard Peripheral Drivers"
config BSP_USING_SDRAM
bool "Enable SDRAM"
default n
config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select BSP_USING_PXP
select BSP_USING_CACHE
select BSP_USING_LCD
select PKG_USING_LVGL
select PKG_USING_LV_MUSIC_DEMO
select BSP_USING_PXP
select BSP_USING_CACHE
default n
endmenu
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
menu "Board extended module Drivers"
endmenu
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册