FreeRTOS Gatekeeper Task with Arduino

FreeRTOS gatekeeper task tutorial with Arduino

In this tutorial, we will learn to use FreeRTOS gatekeeper tasks API. We will see examples with Arduino. Gatekeeper tasks are used to implement mutual exclusion events without the risk of priority inversion and deadlocks. As we have discussed in previous tutorials, FreeRTOS mutex suffers from priority inversion and deadlocks problems. Although, we can resolve … Read more

FreeRTOS Mutex Tutorial with Arduino – Avoid Priority Inversion

FreeRTOS mutex example

Resource management is a key factor in designing applications based on real-time operating systems. In RTOS, more than one tasks share resources with each other such as peripherals, data, or external devices. Therefore, FreeRTOS provides a mutex semaphore to share resources between tasks securely and without data corruption. In this tutorial, we will learn to … Read more