You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ndg/lib/lvgl/docs/get-started/os/rt-thread.md

4.6 KiB

RT-Thread RTOS

What is RT-Thread?

Introduce about RT-Thread and how to run LVGL on RT-Thread in simulators

RT-Thread is an open source, neutral, and community-based real-time operating system (RTOS). RT-Thread has Standard version and Nano version. For resource-constrained microcontroller (MCU) systems, the Nano version that requires only 3 KB Flash and 1.2 KB RAM memory resources can be tailored with easy-to-use tools. For resource-rich IoT devices, RT-Thread can use the online software package management tool, together with system configuration tools, to achieve intuitive and rapid modular cutting, seamlessly import rich software packages; thus, achieving complex functions like Android's graphical interface and touch sliding effects, smart voice interaction effects, and so on.

Key features

  • Designed for resource-constrained devices, the minimum kernel requires only 1.2KB of RAM and 3 KB of Flash.
  • A variety of standard interfaces, such as POSIX, CMSIS, C++ application environment.
  • Has rich components and a prosperous and fast growing package ecosystem
  • Elegant code style, easy to use, read and master.
  • High Scalability. RT-Thread has high-quality scalable software architecture, loose coupling, modularity, is easy to tailor and expand.
  • Supports high-performance applications.
  • Supports all mainstream compiling tools such as GCC, Keil and IAR.
  • Supports a wide range of architectures and chips.

How to run LVGL on RT-Thread?

中文文档

LVGL has registered as a software package of RT-Thread. By using Env tool or RT-Thread Studio IDE, RT-Thread users can easily download LVGL source code and combine with RT-Thread project. RT-Thread community has port LVGL to several BSPs:

BSP Note
QEMU simulator
Visual Studio simulator
Nuvoton numaker-iot-m487
Nuvoton numaker-pfm-m487
Nuvoton nk-980iot
Nuvoton numaker-m2354
Nuvoton nk-n9h30
Nuvoton numaker-m032ki
NXP imxrt1060-evk
STM32L475 pandora
STM32F407 explorer
STM32F469 Discovery
Raspberry PICO

Import a BSP project into RT-Thread Studio

Clone the latest code from RT-Thread official repository. Open the RT-Thread Studio and select File -> Import. In the Import menu, please select RT-Thread BSP Project into Workspace, and click next button. In the BSP location area, please select the root path of the BSP which you prefer to import, such as C:\Users\xxx\Desktop\rt-thread\bsp\stm32\stm32l475-atk-pandora. In the Project Name area, please type a name for this project, then, press Finish button.