Cannot fit er-example-server to TelosB

*爱你&永不变心* 提交于 2019-12-11 13:48:00

问题


I am trying to make 2 motes connect via a border-router, using the contiki 3 examples. I compiled er-example-client but it does not fit on my Crossbow TelosB mote. It comes up with error message:

er-example-server.sky section '.text' will not fit in region 'rom'

I am using Instant Contiki, which has msp430-gcc v4.7. The same seems to happen in Cooja as well, using Sky motes.


回答1:


The application doesn't fit the Sky/TelosB ROM. Using the msp430-4.7.x provides a nice size reduction, but doesn't seem to benefit the Sky. Try disabling some of the resources enabled by default, for example compiling only with the hello test yields:

msp430-size er-example-server.sky 
   text    data     bss     dec     hex filename
  48669     278    8646   57593    e0f9 er-example-server.sky


来源:https://stackoverflow.com/questions/35894400/cannot-fit-er-example-server-to-telosb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!