VxWorks使用memPartInfoGet函数查看内存信息,编译通过了,download文件失败,啥问题?
VxWorks使用memPartInfoGet函数查看内存信息,编译通过了,download文件失败,啥问题?
#include "VxWorks.h"
#include "memLib.h"
#include "logLib.h"
void check(void)
{
MEM_PART_STATS tParStat;
memPartInfoGet(memSysPartId, &tParStat);
logMsg("it is ok %lu\n",tParStat.numBytesFree,0,0,0,0,0);
}