3 ms·
There are many reasons why you don't want a general purpose OS for a microcontroller: - Embedded systems are very price sensitive. if you're making it general
by TickleSteve 10y ago
There are many reasons why you don't want a general purpose OS for a microcontroller:
- Embedded systems are very price sensitive. if you're making it general purpose, you're wasting money.
- Embedded systems generally have some form of real-time requirements. General Purpose OSes are not suitable here.
- Time-Efficiency; don't waste cycles.
- Space-efficiency; don't waste memory.
- power-efficiency; be asleep as much as possible.
Simple schedulers such as FreeRTOS/RTX/ChibiOS/etc/etc/etc are much more suitable, but better just to implement a nice simple super-loop. Primitive but efficient.