Skip to content
Browse files

add dd target to makefile

  • Loading branch information...
prusnak committed Sep 24, 2011
1 parent 7bdfecf commit 6fd2cdf9bb43b03669ab1430e10c043fe0be7e45
Showing with 4 additions and 0 deletions.
  1. +4 −0 firmware/Makefile
@@ -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

rm -f obj/*.axf
rm -f obj/*.bin

0 comments on commit 6fd2cdf

Please sign in to comment.
You can’t perform that action at this time.