Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
码匠许师傅
rt-thread
提交
907ee070
R
rt-thread
项目概览
码匠许师傅
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
907ee070
编写于
5月 04, 2022
作者:
mysterywolf
提交者:
guo
5月 09, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[imxrt1060] exchange On-chip Peripheral Drivers and Onboard Peripheral Drivers menu in Kconfig
上级
b077e91c
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
58 addition
and
58 deletion
+58
-58
bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_disp.c
bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_disp.c
+4
-4
bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig
bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig
+54
-54
未找到文件。
bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_disp.c
浏览文件 @
907ee070
...
...
@@ -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
;
...
...
bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig
浏览文件 @
907ee070
...
...
@@ -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
menu "Onboard Peripheral Drivers"
config BSP_USING_
CACHE
bool "Enable
CACHE
"
config BSP_USING_
SDRAM
bool "Enable
SDRAM
"
default n
menuconfig BSP_USING_LCD
...
...
@@ -101,21 +61,61 @@ menu "On-chip Peripheral Drivers"
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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录