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.

急!!MSP430F5529编译出错

Other Parts Discussed in Thread: MSP430F5529

我现在只要加上以下内容就提示错误:

(1)#10010 errors encountered during linking; "Pulse_3.out" not built;

(2)<a href="file:/E:/CCSV5/ccsv5/tools/compiler/dmed/HTML/10099.html">#10099-D</a>  program will not fit into
我加的内容是:

外部中断的服务函数:

#pragma vector=PORT1_VECTOR     //中断服务函数

__interrupt void IO_interrupt(void)

 {

 P1IFG&=0x00;   //标志位清零

 }
错误2点进去之后会定位到lnk_msp430f5529.cmd中的 第173行  .int47   : {} > INT47

 

我把我的工程也放到下面了。重建工程等方法都试过了,没有用。

Pulse.zip
  • 这是int47的空间不足

    将第80行   改为 INT47                   : origin = 0xFFDE, length = 0x0004

       81行       改为INT48                      : origin = 0xFFE2, length = 0x0002

      82行        改为 INT49                   : origin = 0xFFE4, length = 0x0002

    ... ...

    后面的INT49到INT61的起始origin值依次加2,INT62去掉(95行和188行)

  • 你好,

    你可以尝试用CCS重建一个工程,应该是不需要修改CMD文件的。