Skip to content

Commit

Permalink
boards: st: update doc
Browse files Browse the repository at this point in the history
Update forgotten boards following PR 75284

Signed-off-by: Abderrahmane Jarmouni <[email protected]>
  • Loading branch information
JarmouniA committed Sep 15, 2024
1 parent 1d81f13 commit e6e4c42
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
18 changes: 11 additions & 7 deletions boards/st/nucleo_u031r8/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,19 @@ This probe allows to flash the board using various tools.
Flashing
========

Board is configured to be flashed using west STM32CubeProgrammer runner.
Installation of `STM32CubeProgrammer`_ is then required to flash the board.
The board is configured to be flashed using west `STM32CubeProgrammer`_ runner,
so its :ref:`installation <stm32cubeprog-flash-host-tools>` is required.

Alternatively, pyocd or jlink via an external probe can also be used to flash
and debug the board if west is told to use it as runner, which can be done by
passing either or ``-r pyocd``, or ``-r jlink``.
Alternatively, JLink or pyOCD can also be used to flash the board using
the ``--runner`` (or ``-r``) option:

For pyocd additional target information needs to be installed.
This can be done by executing the following commands.
.. code-block:: console
$ west flash --runner pyocd
$ west flash --runner jlink
For pyOCD, additional target information needs to be installed
by executing the following pyOCD commands:

.. code-block:: console
Expand Down
2 changes: 1 addition & 1 deletion boards/st/stm32u083c_dk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ This can be done by executing the following commands.
Flashing an application to STM32U083C_DK
------------------------------------------
----------------------------------------

Connect the STM32U083C_DK to your host computer using the USB port.
Then build and flash an application. Here is an example for the
Expand Down
14 changes: 12 additions & 2 deletions boards/st/stm32u5a9j_dk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,18 @@ This probe allows to flash and debug the board using various tools.
Flashing
========

Board is configured to be flashed using west STM32CubeProgrammer runner.
Installation of `STM32CubeProgrammer`_ is then required to flash the board.,
The board is configured to be flashed using west `STM32CubeProgrammer`_ runner,
so its :ref:`installation <stm32cubeprog-flash-host-tools>` is required.

Alternatively, OpenOCD can also be used to flash the board using
the ``--runner`` (or ``-r``) option:

.. code-block:: console
$ west flash --runner openocd
Flashing an application to STM32U5A9J_DK
----------------------------------------

Connect the STM32U5A9J Discovery board to your host computer using the USB
port, then run a serial host program to connect with your Discovery
Expand Down

0 comments on commit e6e4c42

Please sign in to comment.