Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add dd target to makefile

  • Loading branch information...
commit 6fd2cdf9bb43b03669ab1430e10c043fe0be7e45 1 parent 7bdfecf
Pavol Rusnak prusnak authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 firmware/Makefile
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.