From: Bernie Innocenti Date: Fri, 11 Mar 2011 19:15:50 +0000 (-0500) Subject: Add target for flashing X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1a8833ae04ecb42d4cd46730ce5af671c56008af;p=rmslog.git Add target for flashing --- diff --git a/rmslog/rmslog_user.mk b/rmslog/rmslog_user.mk index 0168e73..b3a1285 100644 --- 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 = \