感觉应该不是内存溢出,只要我把先列程序第三行注释掉就没问题,那怕是再定义个1K的数组
求大神搭救?
_EINT();
while(cy_index != 0){;}
//while(cy_index != 1119){;}
_DINT() ;
IAR编译器
错误提示如下:
Error[e16]: Segment DATA20_ID (size: 0x19e align: 0x1) is too long for segment definition. At least 0x4 more bytes needed. The problem occurred while processing the segment placement command "-Z(CONST)DATA20_C,DATA20_ID,CODE_ID=9400-FE70,10040-13FFF", where at the moment of placement the available memory ranges were "CODE:13e66-13fff"
Reserved ranges relevant to this placement:
9400-942f CSTART
9430-9973 ISR_CODE
9974-fe6f CODE
fe70-fe70 DATA20_C
10000-136c3 CODE
136c4-13fff DATA20_C
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>