A C-based round-robin scheduling Real-Time Operating System (RTOS) that demonstrates multithreading and context switching on an STM-32 microcontroller.
This RTOS uses C functions to create the kernel of the operating system, with assembly functions for use in interrupts and context switching.
The relevant code that was not generated by the STM-32 libraries can be found in 'Core\Inc' and 'Core\Src'. Some notable files include:
'kernel.c': contains all the kernel level managment functions such as stack allocation and thread creation, the SVC handler, and scheduling. 'main.c': contains sample runtime code to demonstrate the RTOS' functionality.
Credits to Jeff Zarnett for providing the original 'asmDump.s' file.