DevCon23 - Using ESP-IDF FreeRTOS Functionality Within an ESP32 Arduino Project

Опубликовано: 04 Ноябрь 2024
на канале: Espressif Systems
6,200
157

This is an entry-level talk, for people who already have some domain of Arduino and want to go a little deeper into using FreeRTOS along with Arduino in a project.

It will talk about why a developer should care about using an RTOS, present a target project, and a possible architecture that applies some RTOS features such as Multi Tasking, Mutex, Queue, and Ring Buffers.

It will present how to apply ESP-IDF FreeRTOS within an Arduino project, demonstrating most of these resources in a single code example.

Hands-On Case 1: Blink 2 LEDs
Basic Loop
https://wokwi.com/projects/3714544422...

Each LED blinks at a different frequency
https://wokwi.com/projects/3714551297...

Using Tasks
https://wokwi.com/projects/3714554744...

Creating a single generic C Blinking Task
https://wokwi.com/projects/3714557221...

Using C++ Class with the Blinking Task
https://wokwi.com/projects/3714561504...


Hands-On Case 2: Printer
Basic Loop
https://wokwi.com/projects/3714568944...

Using Task to Print
https://wokwi.com/projects/3714574650...

Exclusion Printer
https://wokwi.com/projects/3714578713...

Mailbox Printer
https://wokwi.com/projects/3714583535...