The objective of this post is to provide an introduction to FreeRTOS counting semaphores, using the ESP32 and the Arduino support. Introduction The objective of this post is to provide an introduction to FreeRTOS counting semaphores, using the ESP32 and the Arduino support. We assume a previous installation of the ESP32 support for the Arduino …
ESP32: Running code on a specific core
The objective of this post is to explain how to run code on a specific core of the ESP32, using the Arduino environment support. Introduction The objective of this post is to explain how to run code on a specific core of the ESP32, using the Arduino environment support. More precisely, we will analyze how …
ESP32: Get Task execution core
The objective of this post is to explain how to check in which core of the ESP32 a certain FreeRTOS task is executing. Introduction The objective of this post is to explain how to check in which core of the ESP32 a certain FreeRTOS task is executing. One of the characteristics of the ESP32 is …
ESP32 Arduino: Getting FreeRTOS tasks priority
The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Introduction The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Task priorities are a very important concept for FreeRTOS because they …
Continue reading "ESP32 Arduino: Getting FreeRTOS tasks priority"
ESP32 Arduino: Passing a variable as argument of a FreeRTOS task
The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. Introduction The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. In order to understand this code, we will analyse first …
Continue reading "ESP32 Arduino: Passing a variable as argument of a FreeRTOS task"
ESP32 Arduino: Creating a FreeRTOS task
The objective of this post is to explain how to launch tasks with the FreeRTOS functions. Introduction The objective of this post is to explain how to launch tasks with the FreeRTOS functions. Since this will introduce some complex concepts, we will start by a very simple example where we will create two tasks that …
ESP32 Arduino: Using FreeRTOS functions
The objective of this post is to introduce some basic concepts of FreeRTOS on the ESP32. Introduction The objective of this post is to introduce some basic concepts of FreeRTOS on the ESP32. First of all, it's important to take in consideration that we can use functions from the FreeRTOS libraries when coding for the …