arduino (18): Research RT-Thread real-time operating system. Organize and related materials.

Preface


All related arduino categories:
https://blog.csdn.net/freewebsys/category_8799254.html

The original link for this article is:
https://blog.csdn.net/freewebsys/article/details/105381723

Reprinting is not allowed without the permission of the blogger.
The blogger's address is: http://blog.csdn.net/freewebsys

1. About RT-Thread real-time operating system


Official website:
https://www.rt-thread.org/index.html

RT-Thread, the full name is Real Time-Thread, as the name suggests, it is an embedded real-time multi-threaded operating system, one of the basic attributes is to support multi-tasking, allowing multiple tasks to run at the same time does not mean that the processor is really at the same time Multiple tasks were performed. In fact, a processor core can only run one task at a certain time. Because the execution time of a task is very short each time, the task scheduler is used to switch between tasks very quickly (the scheduler decides according to the priority Tasks that should be executed at the moment), giving people the illusion that multiple tasks are running at the same time. In the RT-Thread system, tasks are implemented by threads, and the thread scheduler in RT-Thread is the task scheduler mentioned above.

RT-Thread is mainly written in C language, which is easy to understand and easy to transplant. It applies the object-oriented design method to the real-time system design, which makes the code style elegant, the structure clear, the system modular and the tailorability is very good. For the resource-constrained microcontroller (MCU) system, the NANO version that only requires 3KB Flash and 1.2KB RAM memory resources can be cut out through convenient and easy-to-use tools (NANO is officially released by RT-Thread in July 2017 A minimalist kernel); for resource-rich IoT devices, RT-Thread can use online software package management tools, cooperate with system configuration tools to achieve intuitive and rapid modular tailoring, and seamlessly import rich software function packages , To achieve complex functions such as Android-like graphical interface, touch sliding effects, and intelligent voice interaction effects.

Compared with the Linux operating system, RT-Thread has small size, low cost, low power consumption, and fast startup. In addition, RT-Thread also has the characteristics of high real-time performance and small resource consumption, which is very suitable for various resource constraints ( Such as cost, power consumption restrictions, etc.). Although 32-bit MCU is its main operating platform, in fact, many application processors with MMU, based on ARM9, ARM11 and even Cortex-A series CPUs are also suitable for using RT-Thread in specific applications.

https://www.rt-thread.org/document/site/tutorial/quick-start/introduction/introduction/

There are studio development tools:

https://www.rt-thread.org/document/site/rtthread-studio/nav/

Learning video:

https://www.rt-thread.org/page/video.html

https://www.bilibili.com/video/BV1JJ41167Lt?from=search&seid=8940503438125723868

2. Integrate with Arduino


Several other projects:

Last year’s project:
https://github.com/onelife/Arduino_RT-Thread

Project from 3 years ago:
https://github.com/BernardXiong/rtthread-esp-idf

ESP32 official discussion:
https://www.esp32.com/viewtopic.php?t=8515

https://create.arduino.cc/projecthub/onelife/arduino-app-with-rt-thread-96438f

3. Summary


The domestic open source real-time operating system.

The original link for this article is:
https://blog.csdn.net/freewebsys/article/details/105381723

The blogger address is: https://blog.csdn.net/freewebsys

Guess you like

Origin blog.csdn.net/freewebsys/article/details/105381723