Follow,Star Public Account to not miss exciting content
Some of my followers on the public account are readers learning about STM8, and someone asked: Which RTOS operating systems are supported by STM8?
1. Extending the Question
Before answering this question, let’s extend another question: Is it necessary to use an operating system with STM8?
This question actually has no standard answer. I have developed projects with STM8 in bare-metal and have also run RTOS on STM8 projects.
It really depends on the actual project situation: MCU resource availability, complexity of functions, real-time requirements, etc.
For example: if you are communicating via UART and simply controlling a few IO ports, it may not be necessary to run an RTOS.
2. Returning to the Main Topic
Which RTOS operating systems are supported by STM8?
I found some official materials that list a total of 4 types:
1. AtomThreads
This RTOS should be known or heard of by anyone running an operating system on STM8.
I believe this system is currently the most widely used RTOS on STM8.
Among these 4 systems, I have only run this operating system on STM8.
Website:
http://atomthreads.com
I previously wrote an article about AtomThreads titled A Real-Time Operating System That Can Run on STM8: Atomthreads
2. ChibiOS
Website:
http://www.chibios.org
ChibiOS is a complete development environment for embedded applications, including RTOS, HAL, peripheral drivers, support files, and tools.
ChibiOS also integrates external open-source components to provide a complete solution for embedded devices.
ChibiOS components are available under open-source licenses, GPL3 or Apache 2.0, along with several commercial licensing options.
3. CMX-Tiny+
Website:
http://www.cmx.com/tiny.htm
CMX Tiny Real-Time Multitasking Operating System can be used on some MCUs with limited resources, such as:
-
Freescale 68HC08
-
H8/300H & H8S
-
Atmel AVR
-
TI MSP430
-
Toshiba TLCS-900
-
ST ST7 & STM8S
CMX-TINY-RTOS can implement the following functions:
-
Task control
-
Event control
-
Message control
-
Resource control
-
Control of cyclic timers
-
Semaphore control (only for version 2.00 and above)
-
Interrupts allow task signaling
-
True preemptive scheduling
-
Cooperative scheduling allowed
-
Minimal RAM / ROM usage
-
Fast context switching time
-
Low interrupt latency
4. embOS
Website:
https://www.segger.com/products/rtos/embos
embOS is a priority-controlled real-time operating system designed to serve as a foundation for embedded application development.
-
Compatible with all popular kernels, compilers, and development tools
-
Deployed in billions of devices across various application fields
-
Functionally safe according to IEC 61508 SIL 3 and IEC 62304 Class C certification
-
MISRA-C: Compliant with 2012 standards
-
Powerful and easy-to-use API
-
Minimal memory usage, maximum performance
-
Kernel-aware plugins available
-
Zero interrupt latency
In fact, there are more than the 4 officially listed, such as the well-known ucos. Interested friends can search for more information on their own.
Recommended Reading:
1. How to Store Variables at Specified Memory Addresses (Based on Keil MDK-ARM)
2. ARM Launches a Security System for Cortex-M Processors: Arm FuSa RTS
My Zhihu: strongerHuang
My Website: www.strongerhuang.com
Follow the public account ‘strongerHuang’ to see more exciting content in the bottom menu!
Long press to recognize the QR code in the image to follow