diff --git a/bsp/raspberry-pico/applications/lvgl/README.md b/bsp/raspberry-pico/applications/lvgl/README.md new file mode 100644 index 0000000000..c4facc1c93 --- /dev/null +++ b/bsp/raspberry-pico/applications/lvgl/README.md @@ -0,0 +1,55 @@ +# Get Raspberry Pi PICO Running on RT-Thread RTOS with an Opensource Light Versatile Graphics Library + +[中文页](README_zh.md) | + +## Hardware: + +- [Raspberry Pi PICO](https://www.raspberrypi.com/products/raspberry-pi-pico/) + +- [TFT-SPI ST7789](https://pdf1.alldatasheet.com/datasheet-pdf/view/1170800/SITRONIX/ST7789H2.html) + + - Single chip TFT-LCD Controller/Driver with On-chip Frame Memory (FM) + + - Display Resolution: 240*RGB (H) *320(V) + + - Frame Memory Size: 240 x 320 x 18-bit = 1,382,400 bits + + - LCD Driver Output Circuits + + \- Source Outputs: 240 RGB Channels + + \- Gate Outputs: 320 Channels + + \- Common Electrode Output + +## Software: + +- Opensource [RT-Thread IoT OS](https://www.rt-thread.io/) Project +- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (Free) +- Opensource [LVGL](https://lvgl.io/) Project + +## Enable LVGL for LCD + +![](./img_en/1.png) + +## Configure Screen Parameter + +Select the screen size according to your project requirements (This tutorial is using ST7789). + + + +## LVGL Display Interface Adopting + + + + + +![]()7 + + + + + +## Presentation + + \ No newline at end of file diff --git a/bsp/raspberry-pico/applications/lvgl/README_zh.md b/bsp/raspberry-pico/applications/lvgl/README_zh.md new file mode 100644 index 0000000000..29752cd133 --- /dev/null +++ b/bsp/raspberry-pico/applications/lvgl/README_zh.md @@ -0,0 +1,52 @@ +# Raspberry_pico 使用 RT-Thread 运行 lvgl + +## 硬件参数 + +树莓派 pico : + +* 双核 Arm Cortex-M0 + @ 133MHz +* 芯片内置 264KB SRAM 和 2MB 的板载闪存 +* 通过专用 QSPI 总线支持最高 16MB 的片外闪存 +* DMA 控制器 +* 30 个 GPIO 引脚,其中 4 个可用作模拟输入 + +- 2 个 UART、2 个 SPI 控制器和 2 个 I2C 控制器 + +- 16 个 PWM 通道 + + 更多详见:[树莓派中文站](https://pico.org.cn/) + +树莓派拓展板: + +* 屏幕:ST7789 SPI 接口 + +## 软件及环境: + +- [RT-Thread IoT OS](https://www.rt-thread.io/) RT-Thread 物联网操作系统 +- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (免费版) +- 开源的 [LVGL](https://lvgl.io/) 图形引擎 + +## 使能 LVGL for LCD + +![](./img/1.png) + +## 配置屏幕参数 + + + +## LVGL 显示接口对接 + + + + + +![]()7 + + + + + +## 效果展示 + + + diff --git a/bsp/raspberry-pico/applications/lvgl/img/1.png b/bsp/raspberry-pico/applications/lvgl/img/1.png new file mode 100644 index 0000000000..d49d5e805a Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img/1.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img/2.png b/bsp/raspberry-pico/applications/lvgl/img/2.png new file mode 100644 index 0000000000..31c5c93669 Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img/2.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img/3.png b/bsp/raspberry-pico/applications/lvgl/img/3.png new file mode 100644 index 0000000000..60238d0c6b Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img/3.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img/4.png b/bsp/raspberry-pico/applications/lvgl/img/4.png new file mode 100644 index 0000000000..75628a01ba Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img/4.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img/5.png b/bsp/raspberry-pico/applications/lvgl/img/5.png new file mode 100644 index 0000000000..49c3618a4c Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img/5.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img_en/1.png b/bsp/raspberry-pico/applications/lvgl/img_en/1.png new file mode 100644 index 0000000000..d49d5e805a Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img_en/1.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img_en/2.png b/bsp/raspberry-pico/applications/lvgl/img_en/2.png new file mode 100644 index 0000000000..e003c39b9a Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img_en/2.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img_en/3.png b/bsp/raspberry-pico/applications/lvgl/img_en/3.png new file mode 100644 index 0000000000..98b4ae2a14 Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img_en/3.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img_en/4.png b/bsp/raspberry-pico/applications/lvgl/img_en/4.png new file mode 100644 index 0000000000..10c9e97cb2 Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img_en/4.png differ diff --git a/bsp/raspberry-pico/applications/lvgl/img_en/5.png b/bsp/raspberry-pico/applications/lvgl/img_en/5.png new file mode 100644 index 0000000000..756ea00d2d Binary files /dev/null and b/bsp/raspberry-pico/applications/lvgl/img_en/5.png differ