03 FreeRTOS Tutorial: Creating and Deleting task

preview_player
Показать описание
For a complete list of videos, go to:
Рекомендации по теме
Комментарии
Автор

excellent tutorial too much practical teacher should be like him

learnpracticalprogrammingl
Автор

Thank you very much for this work. This is my first look over operating systems at all. This series of lessons gave me a lot of answers that i need for my project. I want to cross two UARTs on STM32F103. On the first i will connect GPS and on the second i will connect bluetooth HC06. Befor starting of transmittion throw the bluetooth i need to change the refresh rate of the GPS. For this task i will use information from lesson "04 FreeRTOS Tutorial: Handling Interrupt" and "07 FreeRTOS Tutorial: Queues part1". I have some thing that i do not understand. When we exit from task? It is obvious that we do not loop in "osDelay()", but in every task we have a infinit loop. Again thank you for your time.

ferdok
Автор

How can someone hate that!! Excellent job.

ya
Автор

Thank you very much for the tutorials Rahman!

partha
Автор

Can you please instruct on how to use the SEGGER SWO viewer?

prateekjoshi
Автор

Really great tutorials. Would be cool to extend them with some more details on task priority and stacks size. Great work.

AmineKouki
Автор

Nice video. One thing is bothering me though. Why did you pass the "pass" variable directly rather than taking the address of it? Since you are dealing with pointers I suppose that the parameter of xTaskCreate is for passing struct/builtin-type instance as pass-by-pointer. Then you cast it back to (int*) but you use it as an integer? I can see how this works but I think it is not a nice practice! Since you are using a pointer (an argument dedicated to an address in the memory) as an integer variable, no?

ahmeterdem
Автор

Very useful tutorial for beginners. can you explain how to integrate Segger J-Link SWO viewer with Atolic Studio as a debugger tool?

acd-projectdemovideos
Автор

at xTaskCreate with pvParameters, i'm quite sure we're supposed to pass pointer to this variable, not the value itself.
what i think was right:
xTaskCreate(myTask1, "Task 1", 200, (void*) &pass, tskIDLE_PRIORITY, &myTaskHadle)
then on the task:
int* count = (int*) p;

muhammadsalmangalileo
Автор

7:03 What about compiler warning? I can't get rid of it.

rafalzasada
Автор

Hi dear,
Thank you for this nice videos, can you please explain the FreeRTOS setup on the chip?
I'M a beginner and need to understand the setup process then after installing it then starts creat project,
I'm using LPC 1758 with MCUexpresso ID.

amrtcpp
Автор

Just for the curiosity, could you please tell me what HW u have connected through this IDE ? if possible please make a video for HW connection and flashing procedure.

Thanks .

shankerpandit
Автор

How can I do this without having the physical device? Any way to emulate it? J-Link is requiring a USB connection or an IP for a remote connection which I don't have...

andreitolkachev
Автор

I dont understand if all you did was move this files, but when i run it, my code gets caught in an empty handler function for pendSV

EdwinFairchild
Автор

Getting error like undefined reference for sTaskCreate ....I have added FreeRTOS.h and task.h and I have included directories also

ajaykumar-rvgp
Автор

For those who have error : undefined
reference to `vApplicationIdleHook'

This error is complaining that you have configUSE_IDLE_HOOK set to 1 in FreeRTOSConfig.h, but have not defined a function called vApplicationIdleHook() in your code.

Simple solution :
set configUSE_IDLE_HOOK to 0 in FreeRTOSConfig.h

reference

bebooooreda
Автор

did you use the pointer to integer with no de-referencing? how!

mohamadmansoor
Автор

I am getting an error for the pointer can you help me out?

ahamedm.h.a
Автор

i am gettng 3 errors in ATmelStudio IDE
1.id returned 1 exit status
2.recipe for target '<project_name>.elf' failed
3.undefined reference to 'vApplicationIdleHook' anyone help me get rid of these errors.

mohanpasumarthy
Автор

Iam getting error: " undefined reference to ' xtaskcreate'
What to do to resolve this .

IrfanKhan-vuln
visit shbcf.ru