RT-Thread born in 2006, it’s an open-source, neutral, and community-based real-time operating system (RTOS). The software has the characteristics of very low resource occupancy, high reliability, and high scalability, can be greatly used in sensing nodes, wireless connection chips and many resource-constrained scenes, also widely applied in gateway, IPC, smart speakers, and many other high-performance applications.
RT-Thread is also considered as an IoT platform with its rich middle-tier components and great hardware and software ecosystem, with almost every key basic component required for IoT devices, such as network protocols, file systems, low power management, etc. It supports all mainstream compiling tools such as GCC, Keil, IAR, etc., and a variety of standard interfaces, such as POSIX, CMSIS, C++ application environment, Micropython, and Javascript, easy for developers to port a wide range of applications. RT-Thread also offers great commercial support to all the mainstream CPU architectures such as ARM Cortex-M/R/A, RISC-V, MIPS, X86, Xtensa, etc.
RT-Thread 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, and C++ application environments.
✅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, and modularity, and 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.
✅Computer/Laptop
✅RT-Thread Studio IDE
✅RT-Thread×Renesas×LVGL HMI Board
✅USB Type-C Cable (Not a Power Cable)
A. System Requirements
Before starting the installation process, make sure your computer meets the system requirements for RT-Thread Studio IDE. Typically, these requirements include:
✅Operating System: Windows, Linux, or macOS
✅RAM: 4GB or higher recommended
✅Disk Space: Several GB of free space
✅Java Runtime Environment (JRE) installed (preferably version 8 or later)
Please be guided that in this procedure, we will be using a Windows 10 Operating System.
B. Download and Install RT-Thread Studio IDE
1. Click the provided link to proceed to the download page of the RT-Thread Studio IDE. Download page link: RT-Thread | Download
2. Open the downloaded installer or .exe file and follow the instructions provided there.
3. Wait until the installation is done. Once the installation is done, you can now use the RT-Thread Studio IDE.
1. Open the RT-Thread Studio.
2. Click SDK Manager. Install the “Reneses -> HMI-Board" and "Debugger_Support_Package -> PyOCD" packages. After the installation, close the SDK Manager.
3. Click on the “File” tab on the upper left portion of the RT-Thread Studio then click on the “New -> RT-Thread Project”.
4. Select “Base on Board”. On the board selection portion, select "HMI-Board" with type set to "Example". Any of the four available examples(i.e., hmi-board-ebike, hmi-board-factory, hmi-board-lvgl, and hmi-board-video) will suffice. In my case, I selected the hmi-board-ebike example. Moreover, kindly fill up the project name according to your preference. And once done, click the finish button.
5. Compile and build the project. In this step, you should be able to successfully build your project without problems.
6. Click the "Flash Download" button in between the "Window" and "Help" tab or press "CTRL+ALT+D" of the RT-Thread IDE to upload the project into your HMI board. Please be patient as this could take a while.
7. Once the project is uploaded into the HMI board, the GUI will automatically be implemented.
III. Installation Procedure of the SquareLine StudioA. System Requirements
Before starting the installation process, make sure your computer meets the system requirements for SquareLine Studio. Typically, these requirements include:
✅Operating System: Windows, Linux, or macOS
✅RAM: 4GB or higher recommended
✅Disk Space: Several GB of free space
✅Java Runtime Environment (JRE) installed (preferably version 8 or later)
Please be guided that in this procedure, we will be using a Windows 10 Operating System.
B. Download and Install SquareLine Studio
1. Click the provided link to proceed to the download page of the RT-Thread Studio IDE. Download page link: SquareLine Studio | Download
2. Open the downloaded installer or .exe file and follow the instructions provided there.
3. Wait until the installation is done. Once the installation is done, you can now use the SquareLine Studio.
1. Sign up and register a free account at the SquareLine Studio.
2. Open the SquareLine Studio.
3. Input your credentials and log in to your registered account.
4. Once logged in, click the "Create" button to get started with your GUI project using SquareLine Studio.
5. Design your GUI project using SquareLine Studio according to your preference.
6. Once you are done with your design, export your design to the desired location.
V. Integrate and Upload your SquareLine Studio Project and RT-Thread Project to the HMI board1. Open the folder of the exported SquareLine Studio Project.
2. Copy all the files in there and paste them into a folder located at "RT-thread project -> board -> lvgl". This step can be done without any problems because, in the said location, there is only one folder together with "lv_conf.h", "lv_port_disp.c", "lv_port_indev.c", and "SConscript". Replace all the files in that destination.
3. Compile and build your RT-Thread project by clicking the "hammer" button.
4. Once finished, flash download your RT-Thread project into the HMI board which could take a while to finish.
5. Once the project is uploaded into the HMI board, the GUI will automatically be implemented.
V. Image and Video Demonstration
Comments
Please log in or sign up to comment.