现在还是有错,因为TCB结构体中没有uxSizeOfStack,所以需要找到结构体,在结构体中添加uxSizeOfStack字段在tack.c中搜索struct tskTaskControlBlock,在#if ( portCRITICAL_NESTING_IN_TCB == 1 ) UBaseType_t uxCriticalNesting; /*< Holds the critical section nesting depth for ports that do not maintain their own count in the port layer. */
的基础上添加 #else
UBaseType_t uxSizeOfStack; /*< Support For CmBacktrace >*/
#endif /* ( portSTACK_GROWTH > 0 )*/