使用liteos系统后空间总是不足,定义数组太大程序会死掉
[ERR] there's not enough whole to alloc 40c Bytes!
增大liteos任务栈空间会报错,以及增加启动文件里的堆栈后还是报错:[ERR] there's not enough whole to alloc 40c Bytes!
[ERR] pool [20002530, 0x20005000) conflict with pool [20002530, 0x20005000)
[ERR] osMemSystemInit error 1
初始化完成
指令操作失败
初始化成功
[ERR] pool [20002530, 0x20005000) conflict with pool [20002530, 0x20005000)
[ERR] osMemSystemInit error 1
初始化完成
指令操作失败
初始化成功
[ERR] pool [20002530, 0x20005000) conflict with pool [20002530, 0x20005000)
[ERR] osMemSystemInit error 1
初始化完成
之前用malloc开辟空间后可以使用,但开辟空间过大还是会回报错或者程序卡死,正常不带liteos系统时开辟空间都不会报错或卡死;