Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
[pub/USBasp.git] / Projects / AVRISP / makefile
index e89c5e8..2b6a1e8 100644 (file)
@@ -66,7 +66,7 @@ MCU = at90usb1287
 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called \r
 # "Board" inside the application directory.\r
 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called \r
 # "Board" inside the application directory.\r
-BOARD  = USBKEY\r
+BOARD = USBKEY\r
 \r
 \r
 # Processor frequency.\r
 \r
 \r
 # Processor frequency.\r
@@ -129,7 +129,11 @@ SRC = $(TARGET).c                                                 \
          Descriptors.c                                               \\r
       Lib/V2Protocol.c                                            \\r
       Lib/V2ProtocolParams.c                                      \\r
          Descriptors.c                                               \\r
       Lib/V2Protocol.c                                            \\r
       Lib/V2ProtocolParams.c                                      \\r
-      Lib/V2ProtocolTarget.c                                      \\r
+      Lib/ISPProtocol.c                                           \\r
+      Lib/ISPTarget.c                                             \\r
+         Lib/PDIProtocol.c                                           \\r
+         Lib/PDITarget.c                                             \\r
+         Lib/NVMTarget.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
@@ -187,9 +191,12 @@ CSTANDARD = -std=gnu99
 # 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
 # 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_PIN=PINB\r
 CDEFS += -DRESET_LINE_DDR=DDRB\r
 CDEFS += -DRESET_LINE_MASK="(1 << 4)"\r
 CDEFS += -DVTARGET_ADC_CHANNEL=2\r
 CDEFS += -DRESET_LINE_DDR=DDRB\r
 CDEFS += -DRESET_LINE_MASK="(1 << 4)"\r
 CDEFS += -DVTARGET_ADC_CHANNEL=2\r
+CDEFS += -DENABLE_ISP_PROTOCOL\r
+CDEFS += -DENABLE_PDI_PROTOCOL\r
 \r
 \r
 # Place -D or -U options here for ASM sources\r
 \r
 \r
 # Place -D or -U options here for ASM sources\r