等5.39发布,他们应该会修复这个问题,或者将LUA开头的变量都打印出来,填写进去即可,这个你自己实现也比较简单,我楼主位不是打印出来了一个部分,其它的你也全部打印出来添加进去即可。
就是下面这个API,你全部添加打印即可
[C] 纯文本查看 复制代码 void TaskTcbPrintf(void)
{
printf("\"pcbcount\", %d,\r\n", configMAX_PRIORITIES);
printf("\"tskTCB_pxTopOfStack_off\", %d,\r\n", (int)&((((struct tskTaskControlBlock*)0)->pxTopOfStack)));
printf("\"tskTCB_uxPriority_off\", %d,\r\n", (int)&((((struct tskTaskControlBlock*)0)->uxPriority)));
printf("\"tskTCB_pxStack_off\", %d,\r\n", (int)&((((struct tskTaskControlBlock*)0)->pxStack)));
printf("\"tskTCB_pcTaskName_off\", %d,\r\n", (int)&((((struct tskTaskControlBlock*)0)->pcTaskName)));
printf("\"tskTCB_ulRunTimeCounter_off\", %d,\r\n",(int)&((((struct tskTaskControlBlock*)0)->ulRunTimeCounter)));
}
|