>The FG43x is already supported.

>Regards,
>Steve


Digging in the binutils source, I find these templates for msp430-ld linker 
scripts:
I suppose by finding every occurrence of similar named variables, I could get 
mspgcc
to make a version for msp430xG439, but since Steve U says it's already 
supported, 
there must be a simpler way...  Do you just override the ROM_START and ROM_SIZE 
of another model like msp430x437 by some msp430-gcc command line option?

How?


John Griessen

excerpt from binutils/src/ld/emulparams/msp430all.sh

if [ "${MSP430_NAME}" = "msp430x436" ] ; then
ARCH=msp:43
MACHINE=
SCRIPT_NAME=elf32msp430
OUTPUT_FORMAT="elf32-msp430"
MAXPAGESIZE=1
EMBEDDED=yes
TEMPLATE_NAME=generic

ROM_START=0xa000
ROM_SIZE=0x5fe0
RAM_START=0x0200
RAM_SIZE=1024

STACK=0x600
fi

if [ "${MSP430_NAME}" = "msp430x437" ] ; then
ARCH=msp:43
MACHINE=
SCRIPT_NAME=elf32msp430
OUTPUT_FORMAT="elf32-msp430"
MAXPAGESIZE=1
EMBEDDED=yes
TEMPLATE_NAME=generic

ROM_START=0x8000
ROM_SIZE=0x7fe0
RAM_START=0x0200
RAM_SIZE=1024

STACK=0x600
fi


Reply via email to