Hi, I am using the below linker file with msp430 command line tools to build the code. My code size is overflowing by 3KB. Is there a way to move the vector table to HIFRAM to expand the code location?
Any other way of fitting in large code size?
Error:
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/bin/ld: adnn.out section `.text' will not fit in region `ROM'
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/bin/ld: section __reset_vector loaded at [000000000000fffe,000000000000ffff] overlaps section .text loaded at [0000000000005bc0,0000000000010ce7]
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/bin/ld: region `ROM' overflowed by 3432 bytes
The linker script: https://github.com/CMUAbstract/maker/blob/5d58fdd629ef68e544dc0b1d2bd59d24df722163/linker-scripts/gcc-7/msp430fr5994.ld