summaryrefslogtreecommitdiff
path: root/app/boards/arm
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-21 09:49:56 -0400
committerPete Johanson <peter@peterjohanson.com>2020-09-21 09:49:56 -0400
commit90bfe6026da99f352af750403880fb55defa1b42 (patch)
tree7438d6462a96e9c985af10a93016bcf12e04257b /app/boards/arm
parent736c41fd19d6ef7e05a7acfd1aade3554233f494 (diff)
fix(boards): Flash Planck with `dfu-util`.
Diffstat (limited to 'app/boards/arm')
-rw-r--r--app/boards/arm/planck/board.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/boards/arm/planck/board.cmake b/app/boards/arm/planck/board.cmake
index 4843c41..772796d 100644
--- a/app/boards/arm/planck/board.cmake
+++ b/app/boards/arm/planck/board.cmake
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: MIT
+board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
board_runner_args(jlink "--device=STM32F303VC" "--speed=4000")
-include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
+include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)