added make dfu
authorArthur Wolf <wolf.arthur@gmail.com>
Sun, 20 Jan 2013 20:08:56 +0000 (21:08 +0100)
committerArthur Wolf <wolf.arthur@gmail.com>
Sun, 20 Jan 2013 20:08:56 +0000 (21:08 +0100)
makefile

index 354a01e..b094429 100644 (file)
--- a/makefile
+++ b/makefile
@@ -38,6 +38,9 @@ debug-store: $(PROJECT).elf
 flash: $(PROJECT).hex debug-store\r
        lpc21isp $< $(CONSOLE) 115200 12000\r
 \r
+dfu: \r
+       dfu-util -D main.bin -R\r
+\r
 upload: $(PROJECT).bin debug-store\r
        dfu-util -d 1d50:6015 -D $<\r
 \r