Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

MSP430FR6972编译出错,提示Error[e16]: Segment DATA20_ID (size: 0x19e align: 0x1)

$
0
0

只要我把先列程序第三行注释掉就没问题,那怕是再定义个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 


Viewing all articles
Browse latest Browse all 3634

Trending Articles