FreeRTOS replacement for _klog_get_task_stack_usage and _klog_get_interrupt_stack_usage

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeRTOS replacement for _klog_get_task_stack_usage and _klog_get_interrupt_stack_usage

1,195 次查看
MattJCole
Contributor V

 

I am currently migrating from the Kinetis K65 to the MPC5748G processor and need a replacement for the _klog_get_task_stack_usage(  _mem_size_ptr stack_size_ptr,   _mem_size_ptr stack_used_ptr) and _klog_get_interrupt_stack_usage(  _mem_size_ptr stack_size_ptr,   _mem_size_ptr stack_used_ptr)  functions. I found the uxTaskGetStackHighWaterMark function but that only gives me how much memory the stack used. How do I find out stack size for a task?

标记 (1)
0 项奖励
回复
1 回复

1,185 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Matt,

take a look at:

https://www.freertos.org/FAQMem.html#StackSize

Regards,

Lukas

0 项奖励
回复