There are two excuses that I typically hear from developers on why they refuse to use a RTOS: • An RTOS memory footprint is too big • The RTOS has too much overhead These excuses might have had some merit five years ago but today they hold no weight. A typical RTOS will load the … Continue reading Embedded Basics – 7 Tips for Managing RTOS Memory Performance and Usage
Tag: Stack
7 Tips for using an RTOS
Real-time operating systems (RTOSes) have become a critical component in many embedded systems. Transitioning from bare-metal scheduling to an RTOS can be tricky business. Here are seven tips to help make the transition easier. Tip #1 – Plan out your architecture first If you have never used UML or been big into software architectures, now … Continue reading 7 Tips for using an RTOS
Improving Code Integrity with a Stack Guard
Developing reliable embedded software comes down to planning for the worst-case scenario and ensuring that there are guards and traps in place to handle these situations. One area of neglect in embedded software is often the stack. The stack is temporary storage that is used by the microcontroller to store information such as local variables, … Continue reading Improving Code Integrity with a Stack Guard