From e9d82162ae944d56a2dee6aed4b38dd9f65b30f4 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 diff --git a/ats-watch/Makefile b/ats-watch/Makefile index 6047864..d6d29a0 100644 --- a/ats-watch/Makefile +++ b/ats-watch/Makefile @@ -25,8 +25,9 @@ BOARD_TYPE := teensy2 OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbserial anyio EXTERNAL_LIBS := lufa +SPREADAVR_PATH := .. -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 @@ -41,4 +42,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"ats-watch\"" -D USB_PRODUCT_LEN=9 LUFA_COMPONENTS := USB USBCLASS SERIAL -include ../include.mk +include $(SPREADAVR_PATH)/include.mk -- cgit v0.10.2