boards: arm: olimex stm32-h103: support for BMP

Add support for flashing and debugging with the Black Magic Probe
debugging tool.

Signed-off-by: Josep Puigdemont <josep.puigdemont@gmail.com>
This commit is contained in:
Josep Puigdemont 2023-06-25 11:37:46 +02:00 committed by Maureen Helm
commit 447e3e6266
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,8 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(blackmagicprobe "--connect-rst")
board_runner_args(jlink "--device=STM32F103RB" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)

View file

@ -203,6 +203,8 @@ SWD transport, but it is also possible to use JTAG with the Olimex ARM-USB-OCD-H
probe, for instance. For the latter, you should replace the file ``openocd.cfg``
by ``openocd_olimex_jtag.cfg``, located in the board's support directory.
The ``blackmagicprobe`` can also be used to program the device.
Flashing
========