From: <rj...@st...> - 2010-12-20 18:01:26
|
Hello developers, I'am having the following error: msp430-gcc -mmcu=msp430x2617 -Wl,-Map=contiki-z1.map example-code.co obj_z1/contiki-z1-main.o contiki-z1.a -o example-code.z1 /opt/msp430-gcc-4.4.4/lib/gcc/msp430/4.4.4/../../../../msp430/bin/ld: example-code.z1 section `.text' will not fit in region `text' /opt/msp430-gcc-4.4.4/lib/gcc/msp430/4.4.4/../../../../msp430/bin/ld: section .vectors loaded at [0000ffc0,0000ffff] overlaps section .text loaded at [00003100,0001006d] /opt/msp430-gcc-4.4.4/lib/gcc/msp430/4.4.4/../../../../msp430/bin/ld: region `text' overflowed by 326 bytes collect2: ld returned 1 exit status make: *** [example-code.z1] Error 1 rm example-code.co This is strange, because I made some tests about the size of my code using msp430-size example-code.z1 activating and deactivating flags to avoid overflow, and my code needs about 51KB of "text" memory, with IPv6, RPL. Zolertia z1 has 92KB of ROM, and seems to me, that contiki is programed with about 50KB of "text" memory for z1, so I have enough space in z1, but I can't upload my code. I tried to increase this: #define ELFLOADER_CONF_TEXTMEMORY_SIZE 0x800 in file /platform/z1/contiki-conf.h but no success - Hide quoted text - how can I change/increase "text" memory in contiki for z1 or solve this problem? Thanks in advance, Best Regards, Ricardo Custodio -- Department of Informatics Engineering University of Coimbra Portugal ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |