Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add dd target to makefile

  • Loading branch information...
commit 6fd2cdf9bb43b03669ab1430e10c043fe0be7e45 1 parent 7bdfecf
Pavol Rusnak authored September 24, 2011

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  firmware/Makefile
4  firmware/Makefile
@@ -16,6 +16,10 @@ obj/$(NAME).bin: obj/$(NAME).axf
16 16
 	arm-none-eabi-objcopy -O binary obj/$(NAME).axf obj/$(NAME).bin
17 17
 	checksum -v obj/$(NAME).bin
18 18
 
  19
+dd: obj/$(NAME).bin
  20
+	dd if=obj/$(NAME).bin of=/dev/sdb seek=4
  21
+	sync
  22
+
19 23
 clean:
20 24
 	rm -f obj/*.axf
21 25
 	rm -f obj/*.bin

0 notes on commit 6fd2cdf

Please sign in to comment.
Something went wrong with that request. Please try again.