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-pwm/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usb-pwm/Makefile') diff --git a/usb-pwm/Makefile b/usb-pwm/Makefile index 85ba3c8..dcc7a11 100644 --- a/usb-pwm/Makefile +++ b/usb-pwm/Makefile @@ -25,10 +25,11 @@ BOARD_TYPE := teensy2 OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbserial usbio 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 DEVICE_STATE_AS_GPIOR=0 LUFA_OPTS += -D ORDERED_EP_CONFIG @@ -43,4 +44,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"spreadspace usb-pwm example\"" -D USB_PRODUCT_LE LUFA_COMPONENTS := USB USBCLASS -include ../include.mk +include $(SPREADAVR_PATH)/include.mk -- cgit v1.2.3