summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-05-19 17:10:30 +0000
committerChristian Pointner <equinox@mur.at>2012-05-19 17:10:30 +0000
commitebe6e2a1ce7842a4ea3a152eb5b8545d0e376b83 (patch)
tree6f806f4d97ff9a64cea80376a23485fc06cc25e0 /software/hhd70dongle/Makefile
parentrewrite read_rxfifo. next: write interrupt handler for GPO1 (diff)
updated teensy tools from spreadspace (rename to avr)
git-svn-id: https://svn.spreadspace.org/mur.sat@437 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/Makefile')
-rw-r--r--software/hhd70dongle/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/software/hhd70dongle/Makefile b/software/hhd70dongle/Makefile
index c12e4c6..87ffb8e 100644
--- a/software/hhd70dongle/Makefile
+++ b/software/hhd70dongle/Makefile
@@ -22,15 +22,7 @@
NAME := hhd70dongle
OBJ := hhd70dongle.o led.o spi.o usb_rawhid.o c1101lib.o util.o
-BOARD_TYPE := teensy2
+BOARD_TYPE := hhd70dongle
-include ../teensy.include.mk
+include ../avr.include.mk
CFLAGS += -std=gnu99
-
-DFU_PRO_TARGET := atmega32u4
-
-.phony: flash
-flash: $(NAME).hex
- sudo dfu-programmer $(DFU_PRO_TARGET) erase
- sudo dfu-programmer $(DFU_PRO_TARGET) flash $<
- sudo dfu-programmer $(DFU_PRO_TARGET) start