cancel
Showing results for 
Search instead for 
Did you mean: 

How can I suspend/kill a freertos task after running once?

ksale.1
Senior
 
1 ACCEPTED SOLUTION

Accepted Solutions
Artur IWANICKI
ST Employee

Hello,

In case you are using CMSIS_OS you can refer to example code within "FreeRTOS on STM32 v2" MOOC:

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/freertos-common-microcontroller-software-interface-standard-osv2.html

Parts 12g and 12h

View solution in original post

2 REPLIES 2
KnarfB
Principal III

call vTaskSuspend() https://www.freertos.org/a00130.html at the end? vTaskDelete ?

hth

KnarfB

Artur IWANICKI
ST Employee

Hello,

In case you are using CMSIS_OS you can refer to example code within "FreeRTOS on STM32 v2" MOOC:

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/freertos-common-microcontroller-software-interface-standard-osv2.html

Parts 12g and 12h