Permalink
Browse files

add dd target to makefile

  • Loading branch information...
1 parent 7bdfecf commit 6fd2cdf9bb43b03669ab1430e10c043fe0be7e45 @prusnak prusnak committed Sep 24, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 firmware/Makefile
View
@@ -16,6 +16,10 @@ obj/$(NAME).bin: obj/$(NAME).axf
arm-none-eabi-objcopy -O binary obj/$(NAME).axf obj/$(NAME).bin
checksum -v obj/$(NAME).bin
+dd: obj/$(NAME).bin
+ dd if=obj/$(NAME).bin of=/dev/sdb seek=4
+ sync
+
clean:
rm -f obj/*.axf
rm -f obj/*.bin

0 comments on commit 6fd2cdf

Please sign in to comment.