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 <thomas.stranger@outlook.com>
This commit is contained in:
parent
133a5c921d
commit
02afc352e3
2 changed files with 3 additions and 7 deletions
|
@ -3,9 +3,7 @@
|
||||||
# keep first
|
# keep first
|
||||||
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
||||||
|
|
||||||
# keil.stm32g0xx_dfp.1.3.0.pack introduced stm32g0b series, but the target does
|
board_runner_args(pyocd "--target=stm32g0b1retx")
|
||||||
# not work with pyocd currently.
|
|
||||||
board_runner_args(pyocd "--target=stm32g071rbtx")
|
|
||||||
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
|
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
|
||||||
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
|
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
|
||||||
board_runner_args(jlink "--device=STM32G0B1RE" "--speed=4000")
|
board_runner_args(jlink "--device=STM32G0B1RE" "--speed=4000")
|
||||||
|
|
|
@ -168,10 +168,8 @@ the ``--runner`` (or ``-r``) option:
|
||||||
$ west flash --runner jlink
|
$ west flash --runner jlink
|
||||||
$ west flash --runner pyocd
|
$ west flash --runner pyocd
|
||||||
|
|
||||||
Pyocd support is currently limited: As the stm32g0b1 target causes issues,
|
For STM32G0 support pyocd needs additional target information,
|
||||||
the stm32g071 target is used. For STM32G0 support pyOCD needs additional target
|
which can be installed by adding "pack" support with the following pyocd command:
|
||||||
information, which can be installed by adding "pack" support with the
|
|
||||||
following pyOCD commands:
|
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue