diff options
author | tmk <nobody@nowhere> | 2012-06-28 23:05:21 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-06-28 23:05:21 +0900 |
commit | cc68adeb5744cba9e8650bab04ff0f0a4033db9f (patch) | |
tree | e853b1e6e48cf61b7763615a7259765a2095b621 /rules.mk | |
parent | 3d81d5221eac9ca9620ba9043a250dcb8371b22e (diff) | |
download | firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.tar.gz firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.tar.bz2 firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.zip |
Add protocol/lufa. LUFA supported now.
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 27 |
1 files changed, 23 insertions, 4 deletions
@@ -25,8 +25,23 @@ # # make extcoff = Convert ELF to AVR Extended COFF. # -# make program = Download the hex file to the device, using avrdude. -# Please customize the avrdude settings below first! +# make program = Download the hex file to the device. +# Please customize your programmer settings(PROGRAM_CMD) +# +# make teensy = Download the hex file to the device, using teensy_loader_cli. +# (must have teensy_loader_cli installed). +# +# make dfu = Download the hex file to the device, using dfu-programmer (must +# have dfu-programmer installed). +# +# make flip = Download the hex file to the device, using Atmel FLIP (must +# have Atmel FLIP installed). +# +# make dfu-ee = Download the eeprom file to the device, using dfu-programmer +# (must have dfu-programmer installed). +# +# make flip-ee = Download the eeprom file to the device, using Atmel FLIP +# (must have Atmel FLIP installed). # # make debug = Start either simulavr or avarice as specified for debugging, # with avr-gdb or avr-insight as the front end for debugging. @@ -567,6 +582,10 @@ clean_list : $(REMOVE) -r .dep $(REMOVE) -r $(OBJDIR) +show_path: + @echo VPATH=$(VPATH) + @echo SRC=$(SRC) + # Create object files directory $(shell mkdir $(OBJDIR) 2>/dev/null) @@ -579,5 +598,5 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets. .PHONY : all begin finish end sizebefore sizeafter gccversion \ build elf hex eep lss sym coff extcoff \ -clean clean_list program debug gdb-config - +clean clean_list debug gdb-config show_path \ +program teensy dfu flip dfu-ee flip-ee |