summaryrefslogtreecommitdiff
path: root/software/rda1846dongle/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2015-02-24 23:46:38 +0100
committerChristian Pointner <equinox@mur.at>2015-02-24 23:46:38 +0100
commitfa231e9696af24cb1b76a58ea1724129a00a4984 (patch)
tree8f65e65193daa4f1256092e4bd7356cb82fad124 /software/rda1846dongle/Makefile
parenthhd70: added internal functions for bulk read and write (diff)
using external avr-utils now
Diffstat (limited to 'software/rda1846dongle/Makefile')
-rw-r--r--software/rda1846dongle/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/software/rda1846dongle/Makefile b/software/rda1846dongle/Makefile
index 95a5ece..d5c21de 100644
--- a/software/rda1846dongle/Makefile
+++ b/software/rda1846dongle/Makefile
@@ -36,8 +36,9 @@ RESET_FUNC := ./reset.sh
RESET_PARAM := /dev/ttyACM0
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
@@ -52,7 +53,7 @@ LUFA_OPTS += -D USB_PRODUCT="L\"RDA1846 usb dongle\"" -D USB_PRODUCT_LEN=18
LUFA_COMPONENTS := USB USBCLASS TWI
-include ../avr.include.mk
+include $(SPREADAVR_PATH)/include.mk
CFLAGS += -D RDA_QUARTZ_12M288
#CFLAGS += -D RDA_QUARTZ_13M