From 0d8eee79a9eb4701f3100434f5d696d912f7816f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 24 Feb 2015 17:23:53 +0100 Subject: added SPREADAVR_PATH variable to all examples --- usb-dual-serial/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usb-dual-serial/Makefile') diff --git a/usb-dual-serial/Makefile b/usb-dual-serial/Makefile index 4efef9f..c6ca219 100644 --- a/usb-dual-serial/Makefile +++ b/usb-dual-serial/Makefile @@ -25,10 +25,11 @@ BOARD_TYPE := teensy2 OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbdualserial EXTERNAL_LIBS := lufa -RESET_FUNC := ../tools/reset_lufa_cdc +SPREADAVR_PATH := .. +RESET_FUNC := $(SPREADAVR_PATH)/tools/reset_lufa_cdc RESET_PARAM := 'r' -LUFA_PATH := ../contrib/LUFA-120219 +LUFA_PATH := $(SPREADAVR_PATH)/contrib/LUFA-120219 LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1 @@ -40,4 +41,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"spreadspace usb-dual-serial example\"" -D USB_PR LUFA_COMPONENTS := USB USBCLASS SERIAL -include ../include.mk +include $(SPREADAVR_PATH)/include.mk -- cgit v1.2.3