Add make target for flashing

master
Adam Engström 2015-01-10 20:02:31 +01:00
parent bd4e90c327
commit ce2e290d23
1 changed files with 4 additions and 0 deletions

View File

@ -45,5 +45,9 @@ main.elf: build/main.o enter_bsl.o
-nostdlib \
$< -o $@
.PHONY: flash
flash: main.elf
$(QUIET)mspdebug rf2500 "prog $<"
clean:
rm *.o *.bin main.elf