summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-02-27 21:16:59 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-02-27 21:16:59 +0100
commiteb89bd002c5af7612f2aa24881312711667dcc3e (patch)
tree3991ed77a5c673518808a9f1f83aeafa82a3831b /Makefile
parent5c959f7d7ec7b432c0b97ec70fa7410774f3bc06 (diff)
add makefile option for mass-programming with
"make massprogram" which utilized the flasher.py utility.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5328ab9..a80b709 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,9 @@ build/main.elf: ${OBJECTS}
@echo
@avr-size --format=avr --mcu=${MCU} $@
+massprogram: all
+ python utilities/flasher.py "${AVRFLASH} -p ${MCU} -c ${AVRDUDE_PROGRAMMER} ${AVRFLAGS}"
+
flash: program
program: build/main.hex #main.eep