added upload options to the Makefile
This commit is contained in:
parent
8825f0d0a0
commit
c07f995cae
|
@ -225,5 +225,13 @@ ULIBS =
|
|||
# End of user defines
|
||||
##############################################################################
|
||||
|
||||
upload-jlink: build/$(PROJECT).bin
|
||||
openocd -f interface/jlink.cfg -f target/stm32f4x.cfg -c "program build/$(PROJECT).elf verify reset exit"
|
||||
|
||||
upload-olimex: build/$(PROJECT).bin
|
||||
openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f target/stm32f4x.cfg -c "program build/$(PROJECT).elf verify reset exit"
|
||||
|
||||
|
||||
|
||||
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC
|
||||
include $(RULESPATH)/rules.mk
|
||||
|
|
Loading…
Reference in New Issue