ESP32 FreeRTOS Event Groups with ESP-IDF

In this ESP32 user guide, we will show you how to use FreeRTOS event groups for task synchronization. Often times we come across the situation where multiple tasks are running and task synchronization is required. This may include conjunction or disjunction of events or synchronization checks between different tasks. The FreeRTOS library in ESP-IDF provides … Read more

ESP32 FreeRTOS Mutex Semaphore using ESP-IDF

In this tutorial, we will learn to use ESP32 FreeRTOS mutex semaphore and how to use it with ESP-IDF. Resource management is an important and critical feature in RTOS based applications. In RTOS, we may have more than one tasks that share resources with each other such as peripherals, data, or external devices, etc. For … Read more

ESP32 ESP-IDF FreeRTOS Queue Tutorial

In this ESP32 ESP-IDF FreeRTOS Queue tutorial, we will learn to create FreeRTOS Queues with ESP32 ESP-IDF. Previously we learned how to create FreeRTOS tasks with ESP32 ESP-IDF. However, creating separate tasks does not sufficient for a complete RTOS-based application because these independent tasks are smaller programs having their own stack, memory, and execution jobs. … Read more

ESP32 ESP-IDF FreeRTOS Tutorial: Learn to Create Tasks

In this ESP32 ESP-IDF FreeRTOS tutorial, we will learn to use FreeRTOS with ESP32 using ESP-IDF framework. The good thing about ESP-IDF is that it already has a port of FreeRTOS for ESP32. Therefore, we do not need to install additional libraries and drivers. ESP-IDF FreeRTOS is based on Vanilla FreeRTOS v10.4.3 In this tutorial, … Read more