Hi, last month i built a device with a MSP430FW427 and could flash and run the software compiled (with IAR 1.26A) for a F413 but today i tried to compile for the FW427 with the latest sources (downloaded via CVS). I could not compile the code (from IAR 1.26A) for the FW427 because that cpu is unknown to mspgcc. When will the FW427 be supported? Or where can i find a documentation for building that support or or can i use the files from IAR 2.x or 3.x?
While trying to compile i found out that timera.h has a bug: The definition of struct timera1 has to be changed to struct timera1_t. Otherwise the the mpsgcc complains error: timera.h: 150: storage size of 'timera1' isn't known I have 3 problems left to port the software: - no_init is unknown. Can i simply erase no_init in the declaration no_init <variable declaration> ? - The code has a pragma for putting some variables into flash memory: #pragma memory=constseg(INFO) int foo = 42; #pragma memory = default How can i port this to mspgcc? - The code is too big: msp430-gcc -mmcu=msp430x413 -Os -mendup-at=main -Wall -g -c main.c ... msp430-gcc -Wl,-s,-O,--verbose -mmcu=msp430x413 -Os -o aout.elf main.o isr.o memory.o modules.o msp430-ld: region text is full (aout.elf section .text) msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section .text [0000e000 -> 00010341] make: *** [aout.elf] Error 1 Is there no trick to reduce the size to the size the IAR compiler produces? Rolf