在sysbios调试时,在Task 中进行动态内存分配,程序运行正常,而当我将同样的模块放入软中断中调用时,程序运行到malloc (or Memory_alloc())时,程序就死了,提示:ti.sysbios.gates.GateMutex:line 97 assertion failure:A badcontext: bad calling context. See gateMutex API doc for detail 。
不知何解?麻烦专家指导一下,谢谢
这里系统默认的heap开的挺大,肯定足够一次malloc的分配