Am 14.03.2003 20:48:03, schrieb Paul Georgief <p...@ucsd.edu>: >I am trying to allocate memory in the flash area to use as permanent storage. >I >would like to align it on a 512-byte boundary, but msp430-gcc does not let me.
i'd allocate my own section. then you can tell to the linker where you want that segment. there were examples posted on this mailinglist, maybe search the archives. i once used msp430-gcc -mmcu=${CPU} -Wl,-Ttext -Wl,0xe000 -o $@ $^ to limit the text segment and you should be able to device a new segment with -T another possibity is to write a customlinker script and specify that for the linker. chris