From 2c72ae5c29143af7cd10e1458bfcbeafaf99b98d Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 8 Mar 2016 11:58:39 +0000 Subject: 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. --- stmhal/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stmhal/Makefile') 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 -- cgit v1.2.3