projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new "Common" section to the class drivers, to hold all mode-independant definit...
[pub/USBasp.git]
/
Projects
/
AVRISP
/
makefile
diff --git
a/Projects/AVRISP/makefile
b/Projects/AVRISP/makefile
index
22fef8b
..
5ea1176
100644
(file)
--- a/
Projects/AVRISP/makefile
+++ b/
Projects/AVRISP/makefile
@@
-136,7
+136,8
@@
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB
SRC = $(TARGET).c \
\r
Descriptors.c \
Lib/V2Protocol.c \
\r
SRC = $(TARGET).c \
\r
Descriptors.c \
Lib/V2Protocol.c \
\r
- $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \
\r
+ Lib/V2ProtocolParams.c \
\r
+ Lib/V2ProtocolTarget.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \
\r
@@
-193,6
+194,11
@@
CSTANDARD = -std=gnu99
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
\r
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
\r
+CDEFS += -DRESET_LINE_PORT=PORTB
\r
+CDEFS += -DRESET_LINE_DDR=DDRB
\r
+CDEFS += -DRESET_LINE_MASK="(1 << 4)"
\r
+CDEFS += -DVTARGET_ADC_CHANNEL=2
\r
+
\r
\r
# Place -D or -U options here for ASM sources
\r
ADEFS = -DF_CPU=$(F_CPU)
\r
\r
# Place -D or -U options here for ASM sources
\r
ADEFS = -DF_CPU=$(F_CPU)
\r