Skip to content

Commit

Permalink
boards: arm: olimex stm32-h103: support for BMP
Browse files Browse the repository at this point in the history
Add support for flashing and debugging with the Black Magic Probe
debugging tool.

Signed-off-by: Josep Puigdemont <[email protected]>
  • Loading branch information
joseppc authored and MaureenHelm committed Jul 24, 2023
1 parent 40a8553 commit 447e3e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/arm/olimex_stm32_h103/board.cmake
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 2 additions & 0 deletions boards/arm/olimex_stm32_h103/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
========

Expand Down

0 comments on commit 447e3e6

Please sign in to comment.