Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逝缘~
rt-thread
提交
d4991d9d
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,发现更多精彩内容 >>
提交
d4991d9d
编写于
10月 18, 2021
作者:
mysterywolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[l475] port for LVGL
上级
830785ee
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
38 addition
and
4 deletion
+38
-4
bsp/stm32/stm32l475-atk-pandora/applications/SConscript
bsp/stm32/stm32l475-atk-pandora/applications/SConscript
+1
-1
bsp/stm32/stm32l475-atk-pandora/applications/lcd_sample.c
bsp/stm32/stm32l475-atk-pandora/applications/lcd_sample.c
+0
-3
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
+12
-0
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/SConscript
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/SConscript
+9
-0
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/lv_conf.h
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/lv_conf.h
+16
-0
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/lvgl_demo.c
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/lvgl_demo.c
+0
-0
未找到文件。
bsp/stm32/stm32l475-atk-pandora/applications/SConscript
浏览文件 @
d4991d9d
...
...
@@ -7,7 +7,7 @@ src = Split('''
main.c
'''
)
if
GetDepend
([
'BSP_USING_
SPI_LCD
'
]):
if
GetDepend
([
'BSP_USING_
LCD_SAMPLE
'
]):
src
+=
[
'lcd_sample.c'
]
if
GetDepend
([
'PKG_USING_NRF24L01'
]):
...
...
bsp/stm32/stm32l475-atk-pandora/applications/lcd_sample.c
浏览文件 @
d4991d9d
...
...
@@ -11,8 +11,6 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#ifdef BSP_USING_SPI_LCD
#include <drv_lcd.h>
#include <rttlogo.h>
...
...
@@ -45,4 +43,3 @@ static int lcd_sample(void)
return
RT_EOK
;
}
INIT_APP_EXPORT
(
lcd_sample
);
#endif
/* BSP_USING_SPI_LCD */
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
浏览文件 @
d4991d9d
...
...
@@ -35,6 +35,18 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_SPI3
default n
config BSP_USING_LCD_SAMPLE
bool "Enable LCD sample"
depends on BSP_USING_SPI_LCD
depends on !BSP_USING_LVGL
default n
config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select BSP_USING_SPI_LCD
select PKG_USING_LVGL
default n
config BSP_USING_SDCARD
bool "Enable SDCARD (spi1)"
select BSP_USING_SPI
...
...
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/SConscript
0 → 100644
浏览文件 @
d4991d9d
from
building
import
*
cwd
=
GetCurrentDir
()
src
=
Glob
(
'*.c'
)
CPPPATH
=
[
cwd
]
group
=
DefineGroup
(
'LVGL'
,
src
,
depend
=
[
'BSP_USING_LVGL'
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
bsp/stm32/stm32l475-atk-pandora/board/ports/lvgl/lv_conf.h
0 → 100644
浏览文件 @
d4991d9d
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-10-18 Meco Man First version
*/
#ifndef LV_CONF_H
#define LV_CONF_H
#define LV_COLOR_16_SWAP 1
#endif
bsp/stm32/stm32l475-atk-pandora/
applications
/lvgl_demo.c
→
bsp/stm32/stm32l475-atk-pandora/
board/ports/lvgl
/lvgl_demo.c
浏览文件 @
d4991d9d
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录