【发布时间】:2013-04-08 09:40:34
【问题描述】:
从 Contiki 端口 Thingsquare Mist 为 EXP430 board 上的 MSP430 编译示例代码时,我得到了
/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: hello-world.exp5438 section `.text' will not fit in region `rom'
/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: section .vectors loaded at [0000ff80,0000ffff] overlaps section .text loaded at [00005c00,000106df]
/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: region `rom' overflowed by 2090 bytes collect2: ld returned 1 exit status
rm hello-world.co obj_exp5438/contiki-exp5438-main.o Process returned error code 2 make: *** [hello-world.exp5438] Error 1
blink 示例也会发生这种情况,溢出的字节甚至更多。如何设置优化或删除未使用的组件,以便开始使用基本示例?
【问题讨论】: