Segment INTVEC (size: 0x36 align: 0x1) is too long for segment definition

来源:互联网 发布:ios 两个数组相同元素 编辑:程序博客网 时间:2024/05/22 14:37
1. 编译 IAR FOR MSP430 的时候出现下面的问题:
2. 错误提示  Error[e16]: Segment INTVEC (size: 0x36 align: 0x1) is too long for segment definition. At least 0x16 more bytes needed. The problem occurred while processing               the segment placement command "-Z(CODE)INTVEC=FFE0-FFFF", where at the moment of placement the available memory ranges were  "CODE:ffe0-ffff" 
3. 原因分析 中断向量不够了,则需要加大,根据需求修改。在iar下估计是编译器中的可以搜素得到这个文件lnk430f149.xcl     -Z(CODE)INTVEC=FFE0-FFFF 改为-Z(CODE)INTVEC=FFC0-FFFF
4. 我自己也找到了一个办法,就是修改优化选项。如下图,level 修改成 high-size
0 0
原创粉丝点击