+Bare-metal applications are also used nowadays, but it requires a very low-level programming skills and lacks of hardware abstraction layers that RTOSes offers. RTOSes typically uses hardware abstraction layers (HAL) that eases the use of hardware resources such a timers and communication buses, making easier the development and allowing the code reuse. In addition, they offer thread and tasks entities that together with the use of schedulers, provides the necessary tools to implement application determinism. The scheduling normally consists on different algorithms where the user can choose from. Another feature that RTOSes normally offers is the stack management, helping the memory usage of the MCU, a valuable resource in embedded-systems.
0 commit comments