diff options
Diffstat (limited to 'software/hhd70dongle/Makefile')
-rw-r--r-- | software/hhd70dongle/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/software/hhd70dongle/Makefile b/software/hhd70dongle/Makefile index 7fdc40c..843e405 100644 --- a/software/hhd70dongle/Makefile +++ b/software/hhd70dongle/Makefile @@ -35,8 +35,9 @@ LIBS := util led lufa-descriptor-usbserial usbio cc1101 RESET_FUNC := ./reset.sh EXTERNAL_LIBS := lufa +SPREADAVR_PATH := ../../contrib/avr-utils -LUFA_PATH := ../../contrib/LUFA-120219 +LUFA_PATH := $(SPREADAVR_PATH)/contrib/LUFA-120219 LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0 LUFA_OPTS += -D ORDERED_EP_CONFIG @@ -51,12 +52,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"HHD70 usb dongle\"" -D USB_PRODUCT_LEN=16 LUFA_COMPONENTS := USB USBCLASS SPI -include ../avr.include.mk - -CFLAGS += -D CC1101_QUARTZ_26M - -program0: RESET_PARAM:=/dev/ttyACM0 -program0: program - -program1: RESET_PARAM:=/dev/ttyACM1 -program1: program +include $(SPREADAVR_PATH)/include.mk |