From 14892592c62edd8001573383dc7c9842f98e26ba Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 23 Mar 2007 16:27:14 +0000 Subject: [PATCH] changed to use msp430-bsl to upload programs --- platform/sky/Makefile.sky | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/sky/Makefile.sky b/platform/sky/Makefile.sky index 2b6b49f01..8167619bf 100644 --- a/platform/sky/Makefile.sky +++ b/platform/sky/Makefile.sky @@ -1,4 +1,4 @@ -# $Id: Makefile.sky,v 1.4 2007/03/22 23:59:54 adamdunkels Exp $ +# $Id: Makefile.sky,v 1.5 2007/03/23 16:27:14 nifi Exp $ ARCH=msp430.c minileds.c watchdog.c light.c button.c spi.c ds2411.c \ @@ -20,12 +20,13 @@ include $(CONTIKI)/cpu/msp430/Makefile.msp430 contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o} # $(AR) rcf $@ $^ -BSL=$(CONTIKI)/tools/msp430-bsl +BSL=msp430-bsl ifndef COMPORT COMPORT := /dev/ttyUSB0 endif -%.up: %.ihex + +%.u: %.ihex $(BSL) --telosb -D -c $(COMPORT) -r -e -I -p $< %.send: %.ce