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.
This commit is contained in:
parent
ed031c1df2
commit
350141e085
7 changed files with 74 additions and 47 deletions
|
|
@ -118,19 +118,24 @@ TARGET = Magstripe
|
|||
OBJDIR = .
|
||||
|
||||
|
||||
# Path to the LUFA library
|
||||
LUFA_PATH = ../..
|
||||
|
||||
|
||||
# List C source files here. (C dependencies are automatically generated.)
|
||||
SRC = $(TARGET).c \
|
||||
Descriptors.c \
|
||||
CircularBitBuffer.c \
|
||||
../../LUFA/Scheduler/Scheduler.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 \
|
||||
CircularBitBuffer.c \
|
||||
$(LUFA_PATH)/LUFA/Scheduler/Scheduler.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 =
|
||||
|
||||
|
|
@ -162,7 +167,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue