contiki/platform/msb430/buildscripts/Makefile.unix

19 lines
336 B
Makefile
Raw Normal View History

2007-06-28 13:43:24 +00:00
ifndef JTAG
JTAG := $(CONTIKI)/platform/$(TARGET)/buildscripts/jtag/pyjtag/jtag.py
endif
ifndef JTAG_PORT
JTAG_PORT = /dev/parport0
endif
%.u: %.$(TARGET)
2007-08-02 08:13:20 +00:00
$(JTAG) -l $(JTAG_PORT) -m
2007-06-28 13:43:24 +00:00
$(JTAG) -l $(JTAG_PORT) -D -D -S -R 2048 -p $^
$(JTAG) -l $(JTAG_PORT) -D -r
r:
$(JTAG) -l $(JTAG_PORT) -r
erase:
$(JTAG) -l $(JTAG_PORT) -e