FreeRTOS Cooperative Kernel
In the previous post, I wrote about creating a simple FreeRTOS task. However, to demonstrate the FreeRTOS cooperative kernel, more than one task is needed. Basically when starting the FreeRTOS scheduler, an Idle task is automatically created which is an infinite loop so when the kernel starts running, it will never return back the control to the main program. In cooperative multitasking, it is the responsibility of the currently running task to give up the processor resources to allow other Read more…