逆变器的智能控制,需要采集很多历史数据,在main函数前面全局定义了很多大数组,例如:float data[2000];等,自定义的数组运算函数是通过指针传递的,例如:void add(float* arr1,float* arr2,float* res);程序在debug调试中,每次执行到自定义的这些函数时就卡住了,step over等按钮就变为灰色。
注:由于全局变量定义的数组较大,曾扩容了.ebss区域的容量,并且rebuild项目是无报错的。仿真使用的是ram的.cmd文件。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
逆变器的智能控制,需要采集很多历史数据,在main函数前面全局定义了很多大数组,例如:float data[2000];等,自定义的数组运算函数是通过指针传递的,例如:void add(float* arr1,float* arr2,float* res);程序在debug调试中,每次执行到自定义的这些函数时就卡住了,step over等按钮就变为灰色。
注:由于全局变量定义的数组较大,曾扩容了.ebss区域的容量,并且rebuild项目是无报错的。仿真使用的是ram的.cmd文件。