projects
/
rmslog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d628a65
)
Add target for flashing
author
Bernie Innocenti
<bernie@codewiz.org>
Fri, 11 Mar 2011 19:15:50 +0000
(14:15 -0500)
committer
Bernie Innocenti
<bernie@codewiz.org>
Fri, 11 Mar 2011 19:15:50 +0000
(14:15 -0500)
rmslog/rmslog_user.mk
patch
|
blob
|
history
diff --git
a/rmslog/rmslog_user.mk
b/rmslog/rmslog_user.mk
index 0168e7395251be961284423fcc0d739227b082b7..b3a12854913fd44c379ced167bc02ff72ac2787b 100644
(file)
--- a/
rmslog/rmslog_user.mk
+++ b/
rmslog/rmslog_user.mk
@@
-4,8
+4,11
@@
#
# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
-rmslog_PROGRAMMER_TYPE = none
-rmslog_PROGRAMMER_PORT = none
+rmslog_PROGRAMMER_TYPE = avrdude
+rmslog_PROGRAMMER_PORT = /dev/ttyACM0
+
+flash: $(OUTDIR)/rmslog.hex
+ sudo avrdude -c arduino -p $(rmslog_MCU) -P $(rmslog_PROGRAMMER_PORT) -e -U flash:w:$(OUTDIR)/rmslog.hex
# Files included by the user.
rmslog_USER_CSRC = \