summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/Makefile
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-06-22 00:43:25 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-06-22 00:43:25 +0000
commit484294037bd9712bcaab9cc980e2f09747079dfd (patch)
tree87de3fe4ed8847f7cfceb040160f25cc5b73990b /software/hhd70dongle/Makefile
parentlufa works (diff)
reset targets
git-svn-id: https://svn.spreadspace.org/mur.sat@547 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/Makefile')
-rw-r--r--software/hhd70dongle/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/software/hhd70dongle/Makefile b/software/hhd70dongle/Makefile
index 46f27a2..002ca85 100644
--- a/software/hhd70dongle/Makefile
+++ b/software/hhd70dongle/Makefile
@@ -24,7 +24,7 @@ NAME := hhd70dongle
BOARD_TYPE := hhd70dongle
OBJ := $(NAME).o hhd70.o c1101lib.o util.o
LIBS := led lufa-descriptor-usbserial
-#RESET_FUNC := ../../tools/atmega324u_usbhid/reset
+RESET_FUNC := ./reset.sh
EXTERNAL_LIBS := lufa
@@ -42,3 +42,9 @@ LUFA_OPTS += -D USB_MANUFACTURER="L\"mur.sat\""
LUFA_OPTS += -D USB_PRODUCT="L\"$(NAME)\""
include ../avr.include.mk
+
+program0: RESET_PARAM:=/dev/ttyACM0
+program0: program
+
+program1: RESET_PARAM:=/dev/ttyACM1
+program1: program