Commit a09e50e85e629029dfa52a7577f59ced94f2b81e
1 parent
e9d9280d
Ajout règle upload dans Makefile
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/lufa-LUFA-170418/PolytechLille/Manette/Makefile
@@ -42,3 +42,8 @@ include $(DMBS_PATH)/gcc.mk | @@ -42,3 +42,8 @@ include $(DMBS_PATH)/gcc.mk | ||
42 | include $(DMBS_PATH)/hid.mk | 42 | include $(DMBS_PATH)/hid.mk |
43 | include $(DMBS_PATH)/avrdude.mk | 43 | include $(DMBS_PATH)/avrdude.mk |
44 | include $(DMBS_PATH)/atprogram.mk | 44 | include $(DMBS_PATH)/atprogram.mk |
45 | + | ||
46 | +upload: | ||
47 | + dfu-programmer atmega32u4 erase | ||
48 | + dfu-programmer atmega32u4 flash Manette.hex | ||
49 | + dfu-programmer atmega32u4 reset |