shaiko
Advanced Member level 5
Hello,
Suppose I have a Cortex M4 microcontroller and I want to run a small RTOS on it.
1. Should the source code for the RTOS Kernel be compiled together with all the C project files?
2. To run the RTOS, do I simply call it as any other C function from my main code?
Suppose I have a Cortex M4 microcontroller and I want to run a small RTOS on it.
1. Should the source code for the RTOS Kernel be compiled together with all the C project files?
2. To run the RTOS, do I simply call it as any other C function from my main code?
Code:
int main()
{
run_rtos () ; // there's a whole world behind this function and how this world works is described in the OS source files that I compiled together with this main function.
}