Skip to content

Commit 87b8074

Browse files
Mathieu Choplainkartben
authored andcommitted
boards: st: nucleo_wb07cc: add pyOCD support
Add pyOCD as supported runner for the Nucleo-WB05KZ board, and a note about pack installation to the board documentation. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 909dcb5 commit 87b8074

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# keep first
33
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=sw" "--start-address=0x10000000")
4+
board_runner_args(pyocd "--target=stm32wb07ccvx")
45

56
# keep first
67
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
78
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
9+
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

boards/st/nucleo_wb07cc/doc/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ You should see the following message on the console:
108108
109109
Hello World! nucleo_wb07cc/stm32wb07
110110
111+
Usage of the pyOCD runner requires installation of an additional target pack.
112+
This can be done using the following commands:
113+
114+
.. code-block:: console
115+
116+
$ pyocd pack update
117+
$ pyocd pack install stm32wb0
111118
112119
Debugging
113120
=========

0 commit comments

Comments
 (0)