ESP32: FreeRTOS counting semaphores

anteph
Posts: 16
Joined: Mon May 08, 2017 2:12 pm

ESP32: FreeRTOS counting semaphores

Postby anteph » Thu May 11, 2017 3:07 pm

A simple example on how to use FreeRTOS counting semaphores to synchronize the execution of tasks.
The semaphore is used as an execution barrier for the Arduino setup function to only finish after some previously launched tasks execute.

https://techtutorialsx.com/2017/05/11/e ... emaphores/

WiFive
Posts: 2552
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32: FreeRTOS counting semaphores

Postby WiFive » Thu May 11, 2017 7:14 pm

Thanks for your examples. If you are doing a whole series of these maybe you could condense them into one topic and keep updating it?

anteph
Posts: 16
Joined: Mon May 08, 2017 2:12 pm

Re: ESP32: FreeRTOS counting semaphores

Postby anteph » Thu May 11, 2017 8:04 pm

Hi! You're welcome :)

I didn't know if the best approach was to keep updating a post or creating new ones, so I was creating a post for each new tutorial.

Right now I'm more focused on FreeRTOS but I intend to do tutorials on other functionalities of the ESP32. I already have some stuff on MQTT and parsing JSON.

If it's better to keep updating a single one I can do it that way. Thanks for the advice.

Best regards,

Who is online

Users browsing this forum: No registered users and 3 guests