X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8ecdc2b1441417bf97661a3d3edd17a5afd707bf..27eb17cb934dcd3807bacdfe87f853e32f0cfdb4:/Projects/AVRISP-MKII/makefile diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index f5bb5b712..89afa5d48 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY @@ -119,7 +119,6 @@ LUFA_PATH = ../../ LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=16 LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1 -LUFA_OPTS += -D NO_STREAM_CALLBACKS LUFA_OPTS += -D USE_FLASH_DESCRIPTORS LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" @@ -141,10 +140,10 @@ SRC = $(TARGET).c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/HostChapter9.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ + $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/USBInterrupt.c \ + $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/Events.c \ - $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/USBInterrupt.c \ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/USBTask.c \ - $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c \ # List C++ source files here. (C dependencies are automatically generated.) @@ -158,7 +157,7 @@ CPPSRC = # Even though the DOS/Win* filesystem matches both .s and .S the same, # it will preserve the spelling of the filenames, and gcc itself does # care about how the name is spelled on its command-line. -ASRC = +ASRC = # Optimization level, can be [0, 1, 2, 3, s]. @@ -191,13 +190,16 @@ 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 += -DRESET_LINE_PORT=PORTB -CDEFS += -DRESET_LINE_PIN=PINB -CDEFS += -DRESET_LINE_DDR=DDRB -CDEFS += -DRESET_LINE_MASK="(1 << 4)" +CDEFS += -DAUX_LINE_PORT=PORTB +CDEFS += -DAUX_LINE_PIN=PINB +CDEFS += -DAUX_LINE_DDR=DDRB +CDEFS += -DAUX_LINE_MASK="(1 << 4)" CDEFS += -DVTARGET_ADC_CHANNEL=2 CDEFS += -DENABLE_ISP_PROTOCOL CDEFS += -DENABLE_XPROG_PROTOCOL +#CDEFS += -DXPROG_VIA_HARDWARE_USART +#CDEFS += -DNO_VTARGET_DETECT +#CDEFS += -DLIBUSB_FILTERDRV_COMPAT # Place -D or -U options here for ASM sources