From 3ce320b1618b5c1a2232a6887c5fef780872171c Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Thu, 17 May 2012 06:14:29 +0000 Subject: debugging test attempts git-svn-id: https://svn.spreadspace.org/mur.sat@418 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/hhd70dongle/Makefile | 64 ++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 28 deletions(-) (limited to 'software/hhd70dongle/Makefile') diff --git a/software/hhd70dongle/Makefile b/software/hhd70dongle/Makefile index 80c92b8..c12e4c6 100644 --- a/software/hhd70dongle/Makefile +++ b/software/hhd70dongle/Makefile @@ -1,28 +1,36 @@ -## -## spreadspace teensy utils -## -## -## Copyright (C) 2011 Christian Pointner -## -## This file is part of spreadspace teensy utils. -## -## spreadspace teensy utils is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## any later version. -## -## spreadspace teensy utils is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with spreadspace teensy utils. If not, see . -## - -NAME := hhd70dongle -OBJ := hhd70dongle.o led.o spi.o usb_rawhid.o c1101lib.o -BOARD_TYPE := teensy2 - -include ../teensy.include.mk -CFLAGS += -std=gnu99 +## +## spreadspace teensy utils +## +## +## Copyright (C) 2011 Christian Pointner +## +## This file is part of spreadspace teensy utils. +## +## spreadspace teensy utils is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## spreadspace teensy utils is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with spreadspace teensy utils. If not, see . +## + +NAME := hhd70dongle +OBJ := hhd70dongle.o led.o spi.o usb_rawhid.o c1101lib.o util.o +BOARD_TYPE := teensy2 + +include ../teensy.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