1
0

Add Makefile.lufa to keyboard/hhkb and hbkb.

This commit is contained in:
tmk 2012-06-30 13:26:09 +09:00
parent ec27eee5ad
commit c86a2031ba
3 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,7 @@
* http://www.fourwalledcubicle.com/files/LUFA/Doc/120219/html/_page__software_bootloader_start.html
*/
// TODO: support usbasp
/* Boot Section Size in bytes
* Teensy halfKay 512
* Atmel DFU loader 4096

View File

@ -2,7 +2,8 @@ PJRC_DIR = protocol/pjrc
OPT_DEFS += -DHOST_PJRC
SRC += $(PJRC_DIR)/pjrc.c \
SRC += $(PJRC_DIR)/main.c \
$(PJRC_DIR)/pjrc.c \
$(PJRC_DIR)/usb_keyboard.c \
$(PJRC_DIR)/usb_debug.c \
$(PJRC_DIR)/usb.c

View File

@ -416,6 +416,10 @@ dfu: $(TARGET).hex
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) flash $(TARGET).hex
dfu-programmer $(MCU) reset
dfu-start:
dfu-programmer $(MCU) reset
dfu-programmer $(MCU) start
flip-ee: $(TARGET).hex $(TARGET).eep
$(COPY) $(TARGET).eep $(TARGET)eep.hex
@ -599,4 +603,4 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \
clean clean_list debug gdb-config show_path \
program teensy dfu flip dfu-ee flip-ee
program teensy dfu flip dfu-ee flip-ee dfu-start