[renesas][hmi-board]update lvgl config and doc.
This commit is contained in:
parent
1cac9e92b5
commit
5712ff1a32
|
@ -96,19 +96,26 @@ menu "Hardware Drivers Config"
|
||||||
select BSP_USING_LCD
|
select BSP_USING_LCD
|
||||||
select BSP_USING_TOUCH
|
select BSP_USING_TOUCH
|
||||||
default n
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_LVGL_DEMO
|
menuconfig BSP_USING_LVGL_DEMO
|
||||||
bool "Enable LVGL demo for LCD"
|
bool "Enable LVGL demo for LCD"
|
||||||
|
select BSP_USING_LVGL
|
||||||
|
select BSP_USING_LCD_RGB
|
||||||
if BSP_USING_LVGL_DEMO
|
if BSP_USING_LVGL_DEMO
|
||||||
config BSP_USING_LVGL_MUSIC_DEMO
|
config BSP_USING_LVGL_MUSIC_DEMO
|
||||||
bool "Enable LVGL music demo"
|
bool "Enable LVGL music demo"
|
||||||
depends on PKG_LVGL_VER_NUM < 0x900000
|
|
||||||
select PKG_USING_LV_MUSIC_DEMO
|
select PKG_USING_LV_MUSIC_DEMO
|
||||||
default n
|
default n
|
||||||
|
help
|
||||||
|
Enable this option to include LVGL music demo. -- LVGL8.3.x
|
||||||
|
|
||||||
config BSP_USING_LVGL_STRESS_DEMO
|
config BSP_USING_LVGL_STRESS_DEMO
|
||||||
bool "Enable LVGL stress demo"
|
bool "Enable LVGL stress demo"
|
||||||
depends on PKG_LVGL_VER_NUM > 0x900000
|
|
||||||
default n
|
default n
|
||||||
endif
|
depends on !BSP_USING_LVGL_MUSIC_DEMO
|
||||||
|
help
|
||||||
|
Enable this option to include LVGL stress demo. -- LVGL9.3.x
|
||||||
endif
|
endif
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -8,17 +8,18 @@
|
||||||
|
|
||||||
## RGB 屏使用配置
|
## RGB 屏使用配置
|
||||||
|
|
||||||
在 `Hardware Drivers Config → On-chip Peripheral Drivers → Enable LVGL for LCD` 中使能 `Enable LVGL for LCD_RGB565` 选项
|
在 `Hardware Drivers Config → On-chip Peripheral Drivers ` 使能 Enable LVGL demo for LCD 选项
|
||||||
|
|
||||||
![](picture/lvgl/22.png)
|
![](picture/lvgl/22.png)
|
||||||
|
|
||||||
* 进入Enable LVGL demo for LCD 中使能 LVGL stress demo
|
* 进入Enable LVGL demo for LCD 中使能 LVGL demo
|
||||||
|
|
||||||
![](picture/lvgl/23.png)
|
* Enable LVGL music demo 绑定的是LVGL8.3.x 版本
|
||||||
|
* Enable LVGL stress demo 绑定的是LVGL9.x 版本
|
||||||
进入 RT-Thread online packages → multimedia packages → LVGL: powerful and easy-to-use embedded GUI library中,选择配套的LVGL版本:8.3.X 或者 9.X
|
|
||||||
|
|
||||||
![](picture/lvgl/24.png)
|
![](picture/lvgl/24.png)
|
||||||
|
* 接下来进入: `RT-Thread online packages → multimedia packages → LVGL: powerful and easy-to-use embedded GUI library → LVGL (official): Light and Versatile Graphics Library` 中选择LVGL版本
|
||||||
|
![](picture/lvgl/23.png)
|
||||||
|
|
||||||
接下来退出菜单界面,输入 `pkgs --update` 命令手动联网获取 lvgl 的软件包到 `packages` 文件夹下
|
接下来退出菜单界面,输入 `pkgs --update` 命令手动联网获取 lvgl 的软件包到 `packages` 文件夹下
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
|
|
||||||
我们默认在fsp中使能了屏幕和Dave2d的外设
|
我们默认在fsp中使能了屏幕和Dave2d的外设
|
||||||
|
|
||||||
![](C:\Users\RTT\AppData\Roaming\Typora\typora-user-images\image-20240429162653262.png)
|
![](picture/lvgl/26.png)
|
||||||
|
|
||||||
点击 `Generate Project Content` 生成配置相关代码
|
点击 `Generate Project Content` 生成配置相关代码
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Binary file not shown.
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 23 KiB |
Loading…
Reference in New Issue