#!/bin/sh
# This called by genscripts_extra.sh
MSP430_NAME=${EMULATION_NAME}
SCRIPT_NAME=elf32msp430
TEMPLATE_NAME=generic
EXTRA_EM_FILE=genelf
OUTPUT_FORMAT="elf32-msp430"
MACHINE=
MAXPAGESIZE=1
EMBEDDED=yes
if [ "${MSP430_NAME}" = "msp430" ] ; then
ARCH=msp:14
ROM_START=0x8000
ROM_SIZE=0x7fe0
RAM_START=0x0200
RAM_SIZE=1K
STACK=0x600
fi
if [ "${MSP430_NAME}" = "msp430X" ] ; then
ARCH=MSP430x43
ROM_START=0x02000
ROM_SIZE=0x0dfe0
RAM_START=0x10000
RAM_SIZE=0x30000