Commit 2c72ae5c authored by Damien George's avatar Damien George
Browse files

stmhal: Switch from dfu-util to tools/ for deflt deploy method.

tools/ 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

The main file has been updated to reflect this change.
parent f0e2d13f
......@@ -130,7 +130,7 @@ The STM version
The "stmhal" port requires an ARM compiler, arm-none-eabi-gcc, and associated
bin-utils. For those using Arch Linux, you need arm-none-eabi-binutils and
arm-none-eabi-gcc packages from the AUR. Otherwise, try here:
arm-none-eabi-gcc packages. Otherwise, try here:
To build:
......@@ -146,9 +146,6 @@ Then to flash the code via USB DFU to your device:
$ make deploy
You will need the dfu-util program, on Arch Linux it's dfu-util-git in the
AUR. If the above does not work it may be because you don't have the
correct permissions. Try then:
$ sudo dfu-util -a 0 -d 0483:df11 -D build-PYBV10/firmware.dfu
This will use the included `tools/` script. If flashing the firmware
does not work it may be because you don't have the correct permissions, and
need to use `sudo make deploy`.
......@@ -25,8 +25,8 @@ USBDEV_DIR=usbdev
# may need to prefix dfu-util with sudo
PYDFU = ../tools/
PYDFU ?= ../tools/
DFU_UTIL ?= dfu-util
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment