aboutsummaryrefslogtreecommitdiff
path: root/makefiles/upload.mk
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-04-16 22:50:24 +0200
committerLorenz Meier <lm@inf.ethz.ch>2015-04-16 22:51:08 +0200
commit3ee9b441c62dc0ab86816e12d3af2cb9956221d3 (patch)
treec8418434c97bb3900fb28a0b7212035f8922c8b8 /makefiles/upload.mk
parentbb9e5d0d4c719367a3645432fd3f544638f90418 (diff)
downloadpx4-firmware-3ee9b441c62dc0ab86816e12d3af2cb9956221d3.tar.gz
px4-firmware-3ee9b441c62dc0ab86816e12d3af2cb9956221d3.tar.bz2
px4-firmware-3ee9b441c62dc0ab86816e12d3af2cb9956221d3.zip
Add STM32F4 discovery config.
Diffstat (limited to 'makefiles/upload.mk')
-rw-r--r--makefiles/upload.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefiles/upload.mk b/makefiles/upload.mk
index 29b415688..dd7710bf7 100644
--- a/makefiles/upload.mk
+++ b/makefiles/upload.mk
@@ -33,7 +33,8 @@ upload-serial-px4fmu-v2: $(BUNDLE) $(UPLOADER)
upload-serial-aerocore:
openocd -f $(PX4_BASE)/makefiles/gumstix-aerocore.cfg -c 'init; reset halt; flash write_image erase $(PX4_BASE)/../Bootloader/px4aerocore_bl.bin 0x08000000; flash write_image erase $(PX4_BASE)/Build/aerocore_default.build/firmware.bin 0x08004000; reset run; exit'
-
+upload-serial-px4-stm32f4discovery: $(BUNDLE) $(UPLOADER)
+ $(Q) $(PYTHON) -u $(UPLOADER) --port $(SERIAL_PORTS) $(BUNDLE)
#
# JTAG firmware uploading with OpenOCD