Skip to content

Commit 02afc35

Browse files
str4t0mcarlescufi
authored andcommitted
boards: st: nucleo_g0b1re: update pyocd target
Update the pyocd runner configuration of the nucleo_g0b1re to use the correct target. Pyocd had issues only just after the release of the G0B1/C1 line. This issue has already been fixed a few releases ago. Signed-off-by: Thomas Stranger <[email protected]>
1 parent 133a5c9 commit 02afc35

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

boards/st/nucleo_g0b1re/board.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# keep first
44
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
55

6-
# keil.stm32g0xx_dfp.1.3.0.pack introduced stm32g0b series, but the target does
7-
# not work with pyocd currently.
8-
board_runner_args(pyocd "--target=stm32g071rbtx")
6+
board_runner_args(pyocd "--target=stm32g0b1retx")
97
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
108
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
119
board_runner_args(jlink "--device=STM32G0B1RE" "--speed=4000")

boards/st/nucleo_g0b1re/doc/index.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,8 @@ the ``--runner`` (or ``-r``) option:
168168
$ west flash --runner jlink
169169
$ west flash --runner pyocd
170170
171-
Pyocd support is currently limited: As the stm32g0b1 target causes issues,
172-
the stm32g071 target is used. For STM32G0 support pyOCD needs additional target
173-
information, which can be installed by adding "pack" support with the
174-
following pyOCD commands:
171+
For STM32G0 support pyocd needs additional target information,
172+
which can be installed by adding "pack" support with the following pyocd command:
175173

176174
.. code-block:: console
177175

0 commit comments

Comments
 (0)