Skip to main content
superfast
Visitor II
July 4, 2019
Question

STM32F4, FreeRTOS stack overflow hook function

  • July 4, 2019
  • 0 replies
  • 790 views

I use freertos stack overflow hook function.

So, I port the function "vApplicationStackOverflowHook"​ and define macro "configCHECK_FOR_STACK_OVERFLOW" set to 2.

i think hook function executed once when some task use the stack, over it's boundary.

but i see stack overflow once occurs, hook function executed continuously. (every task execution )

 this is correct ?. if then, do i have to clear kind of  "stack over flow flag" ?

This topic has been closed for replies.