IAR 常见错误

来源:互联网 发布:java edittext获取值 编辑:程序博客网 时间:2024/05/22 00:29
**Error[e27]: Entry "ReadingData" in module DS1302 ( E:\MSP430
   \Module\DS1302\Debug\Obj\DS1302.r43 ) redefined in module main
   原因:我把定义的数组unsigned char ReadingData[7];放在.h的文件中编译出现这样的错误

   解决:把unsigned char ReadingData[7];放在.c文件中

Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 211 block(s) (0x3240  byte(s) total) in 0x2e52 byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)CODE=C2F0-FF7F",  where at the moment of placement the available memory ranges were "CODE:d12e-ff7f" 

表示内存空间不足了,需要换芯片或者 程序优化缩小程序大小。


http://blog.sina.com.cn/s/blog_537d61430101cb3p.html




0 0
原创粉丝点击