diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 08:09:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 08:09:49 +0000 |
commit | 6d1adf7339b71952d1ba8616af9422fbc7333eb1 (patch) | |
tree | 1af4c2655f56f847b4b56cb1551a77e0d3afb054 /Projects/Benito/makefile | |
parent | f070902bdb96795c497bce283288affaa9a4fc5b (diff) | |
download | lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.tar.gz lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.tar.bz2 lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.zip |
Updated Benito project -- added hardware interrupt and software buffering for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity.
Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host.
Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
Diffstat (limited to 'Projects/Benito/makefile')
-rw-r--r-- | Projects/Benito/makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 227012b16..3ce738b44 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -134,6 +134,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB # List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
Descriptors.c \
+ Lib/RingBuff.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \
@@ -192,9 +193,9 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
-CDEFS += -DAVR_RESET_LINE_PORT="PORTB"
-CDEFS += -DAVR_RESET_LINE_DDR="DDRB"
-CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)"
+CDEFS += -DAVR_RESET_LINE_PORT="PORTD"
+CDEFS += -DAVR_RESET_LINE_DDR="DDRD"
+CDEFS += -DAVR_RESET_LINE_MASK="(1 << 4)"
CDEFS += -DAVR_RESET_PULSE_MS=10
CDEFS += -DTX_RX_LED_PULSE_MS=30
CDEFS += -DPING_PONG_LED_PULSE_MS=100
|