Manage FreeRTOS tasks - Suspend, Delay, Resume, Delete (ESP32 + Arduino series)
HTML-код
- Опубликовано: 9 мар 2021
- Once you have FreeRTOS tasks running, you might want to manage them. The scheduler can stop, suspend, and resume individual tasks. You can control tasks from within or you can use task handles to control them from anywhere in your code.
⚡️Other videos in this series:
• ESP32 + Arduino
(Everything you need to know about programming the ESP32 by using the Arduino Framework)
🌍 Social
Twitter: / savjee
Facebook: / savjee
Blog: savjee.be
❤️ Become a Simply Explained member: / @simplyexplained
💌 Newsletter: newsletter.savjee.be
(no more than once a month) - Наука
Video is 2 years old and still helping the maker community. I have searched for hours on task examples and yours was exactly what I needed. The suspend and resumed gave me the “one shot” trigger option I needed.
Glad I could help!
Best lecture on free rtos please continue the series of free rtos.Thanks for making 🎉
Very Good tutorial💫
I can't thank this guy enough!
This was very Helpful Sir. THANKS A LOT for this Explanation
Good . Very clear presentation
Very well explained.
Thanks for this lesson! I just missed one thing - who is managing the value of task1_handle? You provided the pointer to the handle to the Scheduler - does that mean he does change it’s value according to the current Scheduler’s settings?
VERY GOOD THANKS!!! :))
Thanks for the video. May I suggest to use count1 == 3 instead of count1 > 3 as it might give weird results after the task 1 is resumed.
Thank you so much! This probably saved me a few hours :D
Create new task and delete it when not in use or suspend and resume when I need it. Which one is the best choice ?? Thanks
Really good, helpful and direct. Just great. Thanks!
Where can I learn more about freertos with arduino? any book you would recommend?
so useful
Thanks bro.
Shouldn't vTaskSuspendAll suspend the task that called it (superImportantTask), or is there an automatic exemption for the calling task?
When I resume the first task - it spools about 20 messages in a row with no delays at all.
When I'm deleting first task from main loop - I'm getting kernel panic. So be really careful with those tasks and handlers
thank you sir
Hello sir . I got many errros in vs code when i build the code. Freertos erros many time. Can you please help me to solve it?
Yeah.... I dunno about this... Task handles to control other tasks... Why not just ask the operating system to stop the other task? Is that not a thing in freeRTOZ...?
Can RTOS run on 8bit MCU?
DFRobot FireBeetle ESP32 IoT Microcontroller (Supports Wi-Fi & Bluetooth)