Added rule to use MSPSim to show the maptable from the last compilation on MSP430 targets
This commit is contained in:
parent
14b1bb9f57
commit
9638789d9d
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.msp430,v 1.31 2009/11/19 17:33:05 nifi Exp $
|
# $Id: Makefile.msp430,v 1.32 2010/04/20 15:38:09 nifi Exp $
|
||||||
|
|
||||||
ifdef nodeid
|
ifdef nodeid
|
||||||
CFLAGS += -DNODEID=$(nodeid)
|
CFLAGS += -DNODEID=$(nodeid)
|
||||||
|
@ -68,6 +68,9 @@ PROJECT_OBJECTFILES += ${addprefix $(OBJECTDIR)/,$(CONTIKI_TARGET_MAIN:.c=.o)}
|
||||||
%.mspsim: %.${TARGET}
|
%.mspsim: %.${TARGET}
|
||||||
java -jar ${CONTIKI}/tools/mspsim/mspsim.jar -platform=${TARGET} $<
|
java -jar ${CONTIKI}/tools/mspsim/mspsim.jar -platform=${TARGET} $<
|
||||||
|
|
||||||
|
mspsim-maptable: contiki-${TARGET}.map
|
||||||
|
java -classpath ${CONTIKI}/tools/mspsim/mspsim.jar se.sics.mspsim.util.MapTable $<
|
||||||
|
|
||||||
core-labels.o: core.${TARGET}
|
core-labels.o: core.${TARGET}
|
||||||
${CONTIKI}/tools/msp430-make-labels core.${TARGET} > core-labels.S
|
${CONTIKI}/tools/msp430-make-labels core.${TARGET} > core-labels.S
|
||||||
$(AS) -o $@ core-labels.S
|
$(AS) -o $@ core-labels.S
|
||||||
|
|
Loading…
Reference in a new issue