Simulator for MSP430-based platforms

This commit is contained in:
nifi 2008-11-24 11:09:36 +00:00
parent 1a87d5a661
commit 2013c4fece
6 changed files with 514 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile.msp430,v 1.24 2008/07/02 14:11:34 adamdunkels Exp $
# $Id: Makefile.msp430,v 1.25 2008/11/24 11:09:36 nifi Exp $
ifdef nodeid
CFLAGS += -DNODEID=$(nodeid)
@ -70,6 +70,9 @@ PROJECT_OBJECTFILES += ${addprefix $(OBJECTDIR)/,$(CONTIKI_TARGET_MAIN:.c=.o)}
%.ihex: %.$(TARGET)
$(OBJCOPY) $^ -O ihex $@
%.mspsim: %.firmware
java -jar ${CONTIKI}/tools/mspsim/mspsim.jar -platform=${TARGET} $<
core-labels.o: core.firmware
${CONTIKI}/tools/msp430-make-labels core.firmware > core-labels.S
$(AS) -o $@ core-labels.S