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.
Hi,all
When I build a MSP430 project, I meet a linker error as below.
"../lnk_msp430f5438a.cmd", line 173: error #10099-D: program will not fit into
available memory. placement with alignment fails for section ".int46" size
0x4 . Available memory ranges:
INT46 size: 0x2 unused: 0x2 max hole: 0x2
The error is about an interrupt vector whose length is 2 byte in lnk_msp430f5438a.cmd, howerver, ccs allocate address aligning with 4 byte.
The interrupt vector is set as below.
INT46 : origin = 0xFFDC, length = 0x0002
When I change length to 4 bytes, the error clears. So, I have 2 questions.
1. Are interrupt vector addresses fixed, must be from 0xFFFE to 0xFF80? May I change the length of interrupt to 4 bytes?
2. If the interrupt address and length could not be changed, how can set ccs alighment to 2 bytes?
The ccs version is 5.2.1.00018, and the device is MSP430F5438A.
Hope your help.
**Attention** This is a public forum