From ebe6e2a1ce7842a4ea3a152eb5b8545d0e376b83 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 19 May 2012 17:10:30 +0000 Subject: updated teensy tools from spreadspace (rename to avr) git-svn-id: https://svn.spreadspace.org/mur.sat@437 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/hhd70dongle/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'software/hhd70dongle/Makefile') 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 -- cgit v1.2.3