S32DS Cannot get FreeRTOS stats in debugger

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

S32DS Cannot get FreeRTOS stats in debugger

跳至解决方案
2,609 次查看
freddy_ben-zeev
Contributor IV

I'm running on the EVB of S32K148. I've checked the "Collect runtime statistics"  option in the FreeRTOS component inspector, which set configGENERATE_RUN_TIME_STATS to 1 in FreeRTOSConfig.h. When I run under the debugger and open the "FreeRTOS Tasks" windows the "Runtime" column shows for each task a warning triangle ('!') which when I hover above it tells me 'Enable "configGENERATE_RUN_TIME_STATS" macro in FreeRTOSConfig.h to see Runtime'.

标记 (4)
1 解答
2,350 次查看
freddy_ben-zeev
Contributor IV

I was given the solution...
Add "#define portREMOVE_STATIC_QUALIFIER 1" to FreeRTOS component  "User settings" and it works.

在原帖中查看解决方案

0 项奖励
3 回复数
2,351 次查看
freddy_ben-zeev
Contributor IV

I was given the solution...
Add "#define portREMOVE_STATIC_QUALIFIER 1" to FreeRTOS component  "User settings" and it works.

0 项奖励
2,350 次查看
freddy_ben-zeev
Contributor IV

Thanks Erich, I will consider it, but at this point my question is about S32DS...

0 项奖励
2,350 次查看
BlackNight
NXP Employee
NXP Employee

Hi Freddy,

see Better FreeRTOS Debugging in Eclipse | MCU on Eclipse 

I hope this helps,

Erich