aboutsummaryrefslogtreecommitdiff
path: root/stmhal/Makefile
diff options
context:
space:
mode:
authorDamien George2016-03-08 11:58:39 +0000
committerDamien George2016-03-08 11:58:39 +0000
commit2c72ae5c29143af7cd10e1458bfcbeafaf99b98d (patch)
tree24481f193de001112c23b96e9e154cec0c666c65 /stmhal/Makefile
parentf0e2d13fd26eb05fce2600e255bf625c3f474385 (diff)
stmhal: Switch from dfu-util to tools/pydfu.py for deflt deploy method.
tools/pydfu.py is now the recommended way of deploying a DFU file. Old behaviour of dfu-util can be obtained by passing USE_PYDFU=0 when invoking make. The main README.md file has been updated to reflect this change.
Diffstat (limited to 'stmhal/Makefile')
-rw-r--r--stmhal/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index b2dba37b8..7e001bc30 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -25,8 +25,8 @@ USBDEV_DIR=usbdev
FATFS_DIR=lib/fatfs
DFU=../tools/dfu.py
# may need to prefix dfu-util with sudo
-USE_PYDFU ?= 0
-PYDFU = ../tools/pydfu.py
+USE_PYDFU ?= 1
+PYDFU ?= ../tools/pydfu.py
DFU_UTIL ?= dfu-util
DEVICE=0483:df11