• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 course: Module 7: Unit 3: FreeRTOS explanation

Q&A Forum › Category: ESP32 › ESP32 course: Module 7: Unit 3: FreeRTOS explanation
0 Vote Up Vote Down
Gayrat Vlasov asked 7 years ago

In MQTT example I see this headers:
 
extern “C” {
  #include “freertos/FreeRTOS.h”
  #include “freertos/timers.h”
}

 
I’m read that ESP32 use multitasking operation system FreeRTOS.
 
For example (as we can see at MQTT code) FreeRTOS proposes this timer functions:

xTimerCreate

xTimerStart
xTimerStop

 
FreeRTOS can create and manage tasks also.
 
At this time I develop simple module, based on ESP32 that have for independent relay, each relay must circle on/off according to it’s timer setting. At project I plan to use xTimerCreate and so on functions.
 
But it’s very intresting if you add to ESP32 course FreeRTOS explanation with examples 🙂

Question Tags: FreeRTOS
3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Hello Gayrat and thanks for the suggestion!

The ESP32 can definitely multitask (it is dual core) and I plan to add a Module or free blog posts about that subject in a near future. I’m currently working on completing some other projects, but I’ll definitely work on something like that when have time.

Regards,
Rui

0 Vote Up Vote Down
Cristian Andrès Patiño answered 5 years ago

Hi, where I can find more abou FreeRTOS for ESP 32? Thanks!

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
You can find more information here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/freertos.html
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.