diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-23 05:43:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-23 05:43:49 +0000 |
commit | 350141e085d3dcc440962259314f569cc8fcef03 (patch) | |
tree | 15a5504a171a421d2217e8719c8937c79721a1bf /Bootloaders/DFU/makefile | |
parent | ed031c1df2f5b053b9cd9f48c63e66a42b7c049e (diff) | |
download | lufa-350141e085d3dcc440962259314f569cc8fcef03.tar.gz lufa-350141e085d3dcc440962259314f569cc8fcef03.tar.bz2 lufa-350141e085d3dcc440962259314f569cc8fcef03.zip |
Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data.
Altered Project and Bootloader makefiles so that the path to the LUFA library can be set in one place.
Diffstat (limited to 'Bootloaders/DFU/makefile')
-rw-r--r-- | Bootloaders/DFU/makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index cb19cb6c7..3bed40d59 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -106,17 +106,22 @@ TARGET = BootloaderDFU OBJDIR = .
+# Path to the LUFA library
+LUFA_PATH = ../..
+
+
# List C source files here. (C dependencies are automatically generated.)
-SRC = $(TARGET).c \
- Descriptors.c \
- ../../LUFA/Drivers/USB/LowLevel/LowLevel.c \
- ../../LUFA/Drivers/USB/LowLevel/Endpoint.c \
- ../../LUFA/Drivers/USB/LowLevel/DevChapter9.c \
- ../../LUFA/Drivers/USB/HighLevel/USBTask.c \
- ../../LUFA/Drivers/USB/HighLevel/USBInterrupt.c \
- ../../LUFA/Drivers/USB/HighLevel/Events.c \
- ../../LUFA/Drivers/USB/HighLevel/StdDescriptors.c \
-
+SRC = $(TARGET).c \
+ Descriptors.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/USBTask.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/USBInterrupt.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/Events.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/StdDescriptors.c \
+
+
# List C++ source files here. (C dependencies are automatically generated.)
CPPSRC =
@@ -148,7 +153,7 @@ DEBUG = dwarf-2 # Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
-EXTRAINCDIRS = ../../
+EXTRAINCDIRS = $(LUFA_PATH)/
# Compiler flag to set the C Standard level.
|