From 9e1fb71b5c1a423de49e27dd4ed8f026d2653fe2 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 13 Mar 2022 23:03:27 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0lvgl=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages-manual/lvgl-docs/introduction.md | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/rt-thread-version/rt-thread-standard/packages-manual/lvgl-docs/introduction.md b/rt-thread-version/rt-thread-standard/packages-manual/lvgl-docs/introduction.md index bcc30e7..213aadf 100644 --- a/rt-thread-version/rt-thread-standard/packages-manual/lvgl-docs/introduction.md +++ b/rt-thread-version/rt-thread-standard/packages-manual/lvgl-docs/introduction.md @@ -4,33 +4,20 @@ ## 已经适配 LVGL 的 BSP -| BSP 名称 | 说明 | -| ------------------------------------------------------------ | ---- | -| [QEMU 模拟器](https://github.com/RT-Thread/rt-thread/tree/master/bsp/qemu-vexpress-a9) | | -| [Visual Studio 模拟器](https://github.com/RT-Thread/rt-thread/tree/master/bsp/simulator) | | -| [新唐 nk-980iot](https://github.com/RT-Thread/rt-thread/tree/master/bsp/nuvoton/nk-980iot/applications/lvgl) | | -| [新唐 nk-n9h30](https://github.com/RT-Thread/rt-thread/tree/master/bsp/nuvoton/nk-n9h30/applications/lvgl) | | -| [正点原子 STM32L475 潘多拉](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32l475-atk-pandora) | | -| [正点原子 STM32F407 探索者](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f407-atk-explorer/applications/lvgl) | | -| [STM32F469 Discovery](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f469-st-disco/applications/lvgl) | | -| [Raspberry PICO](https://github.com/RT-Thread/rt-thread/tree/master/bsp/raspberry-pico/applications/lvgl) | | +[已经适配LVGL的BSP列表](https://docs.lvgl.io/master/get-started/rt-thread.html#how-to-run-lvgl-on-rt-thread) | [讲解视频](https://www.bilibili.com/video/BV1YM4y1F7fX) RT-Thread 的两款模拟器均适配了 LVGL,你可以不需要开发板也可以在 RT-Thread 操作系统上运行 LVGL 图形库。在已经适配好的 BSP 中,用户一键即可完成 LVGL 的配置并生成工程,编译下载后,自动演示 LVGL 的例程。如何配置请参考文档或(及)讲解视频。 -## 讲解视频 - -https://www.bilibili.com/video/BV1YM4y1F7fX - ## 如何将 LVGL 移植到某个 BSP -移植模板请参见 [正点原子 STM32L475 潘多拉](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32l475-atk-pandora/applications/lvgl) | +移植模板请参见 [正点原子 STM32L475 潘多拉](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32l475-atk-pandora/applications/lvgl) | [STM32F469 Discovery](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f469-st-disco/applications/lvgl) | [新唐系列](https://github.com/RT-Thread/rt-thread/blob/master/bsp/nuvoton/docs/LVGL_Notes.md) LVGL 的配置文件有三个: | 配置文件名称 | 位置 | 功能 | 用户是否需要修改此文件 | | ------------------- | ------------------------------------------------------------ | ------------------------------------------------ | -------------------------------------------------------- | -| lv_conf_internal.h | LVGL 侧:[lvgl/src/](lvgl/src/) | 将用户未配置的功能设置为默认值 | 不需要 | -| lv_rt_thread_conf.h | LVGL 侧:[lvgl/rt-thread/](lvgl/rt-thread/) | 接管与操作系统相关的配置(例如时基信号、内存等) | 不需要 | +| lv_conf_internal.h | [LVGL 侧](https://github.com/lvgl/lvgl/blob/master/src/lv_conf_internal.h) | 将用户未配置的功能设置为默认值 | 不需要 | +| lv_rt_thread_conf.h | [LVGL 侧](https://github.com/lvgl/lvgl/blob/master/env_support/rt-thread/lv_rt_thread_conf.h) | 接管与操作系统相关的配置(例如时基信号、内存等) | 不需要 | | lv_conf.h | RT-Thread 侧:[参考](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32l475-atk-pandora/applications/lvgl/lv_conf.h) | 用户自定义配置 | 需要用户自行在具体 BSP 的 applications/lvgl 文件夹下创建 | 从上表中可以看出,虽然配置文件看起来三个很多,但是实际需要用户干预的只有最后一项,即用户需要在 BSP 的 applications 文件夹中创建一个 lvgl 文件夹,该文件夹就是用来放置 lvgl 相关文件的,内容如下: -- Gitee