aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-06-28 23:05:21 +0900
committertmk <nobody@nowhere>2012-06-28 23:05:21 +0900
commitcc68adeb5744cba9e8650bab04ff0f0a4033db9f (patch)
treee853b1e6e48cf61b7763615a7259765a2095b621 /rules.mk
parent3d81d5221eac9ca9620ba9043a250dcb8371b22e (diff)
downloadqmk_firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.tar.gz
qmk_firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.zip
Add protocol/lufa. LUFA supported now.
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk27
1 files changed, 23 insertions, 4 deletions
diff --git a/rules.mk b/rules.mk
index 060f660c9..a58de2f11 100644
--- a/rules.mk
+++ b/rules.mk
@@ -25,8 +25,23 @@
25# 25#
26# make extcoff = Convert ELF to AVR Extended COFF. 26# make extcoff = Convert ELF to AVR Extended COFF.
27# 27#
28# make program = Download the hex file to the device, using avrdude. 28# make program = Download the hex file to the device.
29# Please customize the avrdude settings below first! 29# Please customize your programmer settings(PROGRAM_CMD)
30#
31# make teensy = Download the hex file to the device, using teensy_loader_cli.
32# (must have teensy_loader_cli installed).
33#
34# make dfu = Download the hex file to the device, using dfu-programmer (must
35# have dfu-programmer installed).
36#
37# make flip = Download the hex file to the device, using Atmel FLIP (must
38# have Atmel FLIP installed).
39#
40# make dfu-ee = Download the eeprom file to the device, using dfu-programmer
41# (must have dfu-programmer installed).
42#
43# make flip-ee = Download the eeprom file to the device, using Atmel FLIP
44# (must have Atmel FLIP installed).
30# 45#
31# make debug = Start either simulavr or avarice as specified for debugging, 46# make debug = Start either simulavr or avarice as specified for debugging,
32# with avr-gdb or avr-insight as the front end for debugging. 47# with avr-gdb or avr-insight as the front end for debugging.
@@ -567,6 +582,10 @@ clean_list :
567 $(REMOVE) -r .dep 582 $(REMOVE) -r .dep
568 $(REMOVE) -r $(OBJDIR) 583 $(REMOVE) -r $(OBJDIR)
569 584
585show_path:
586 @echo VPATH=$(VPATH)
587 @echo SRC=$(SRC)
588
570 589
571# Create object files directory 590# Create object files directory
572$(shell mkdir $(OBJDIR) 2>/dev/null) 591$(shell mkdir $(OBJDIR) 2>/dev/null)
@@ -579,5 +598,5 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
579# Listing of phony targets. 598# Listing of phony targets.
580.PHONY : all begin finish end sizebefore sizeafter gccversion \ 599.PHONY : all begin finish end sizebefore sizeafter gccversion \
581build elf hex eep lss sym coff extcoff \ 600build elf hex eep lss sym coff extcoff \
582clean clean_list program debug gdb-config 601clean clean_list debug gdb-config show_path \
583 602program teensy dfu flip dfu-ee flip-ee