Тёмный

FreeRTOS on the Raspberry Pi Pico (RP2040) Part 3: Scheduling and Task Priorities 

Learn Embedded Systems
Подписаться 35 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@jackyli6716
@jackyli6716 2 года назад
this video is the best tutorial on how to lean FreeRTOS that i have never seen before...! good job!
@andrewkuhl40
@andrewkuhl40 Год назад
This video crushes I love the way you do things
@omerkurt
@omerkurt 2 года назад
This video series is so clear and educative. I hope you will continue.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 2 года назад
Plenty more videos in this series to come!
@crckdns
@crckdns 2 года назад
Finally the scheduling coverage! Thanks!
@thisnthat3530
@thisnthat3530 2 года назад
Interesting that a higher priority task can essentially hog the entire CPU. From memory, the way AmigaOS handled scheduling was it would create a list of all tasks with their priorities, then iterate through the list, subtracting from the priority as it went. Only tasks with priority > 0 would be executed. Once all tasks had reached 0, the list would be repopulated with the original priority value and the process would repeat. This way, even the lowliest task would get some CPU allocation, but a task with priority 10 would get 10x the time slices of a task with priority 1 for example.
@tuncayusta640
@tuncayusta640 Год назад
hence the program design is very important for rt-applications.
@AhmetKizilay0
@AhmetKizilay0 2 года назад
Very informative video! Thank you
@VasaMusic438
@VasaMusic438 Год назад
Very very GOOD !!!
@edwardvidal6176
@edwardvidal6176 2 года назад
Great video thanks!
@yahmk3978
@yahmk3978 2 года назад
Thank you!
@framm703
@framm703 8 месяцев назад
@lfarge
@lfarge 2 года назад
Great content as usual. What about installing FreeRTOS on both cores of the Pico...that would be a great topic! :-)
@LearnEmbeddedSystems
@LearnEmbeddedSystems 2 года назад
Great suggestion, a video on SMP is in the works! We need to cover all the fundamentals first
@lfarge
@lfarge 2 года назад
@@LearnEmbeddedSystems Fully agree with that strategy! 😃
@GIJOEG36
@GIJOEG36 2 года назад
This delay will only work if compiled without optimisation....
@helmutzollner5496
@helmutzollner5496 2 года назад
That means that high priority task need to cooperate by entering the delay stage in order to give lower priority tasks a chance to execute? That appears to be not very useful. There is no way to divide the available slots up to all the tasks and give them more or less time slices? Or is that a problem with the idea of an RTOS?
@picklerix6162
@picklerix6162 2 года назад
It’s good practice to assign the same priority to most of your tasks so that no task is starved. Interrupt handlers usually run intermittently at a higher priority.
@tuncayusta640
@tuncayusta640 Год назад
if you want time slicing among equal priorities in the example with for loops, you need to turn on "configUSE_TIME_SLICING" in "FreeRTOSConfig.h".
@yojaxu
@yojaxu 11 месяцев назад
configUSE_TIME_SLICING
Далее
How to get Spongebob El Primo FOR FREE!
01:36
Просмотров 13 млн
How to make Binary Amplitude Diffusers without a CNC
8:21
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
In-depth: Raspberry Pi Pico's PIO - programmable I/O!
17:19
The new Raspberry Pi Pico W is just $6
7:56
Просмотров 438 тыс.
How to get Spongebob El Primo FOR FREE!
01:36
Просмотров 13 млн