boards: arm: nucleo_h743zi: add support for stm32cubeprogrammer runner

Add support for the recently introduced STM32CubeProgrammer runner.
Updated documentation to mention its availability as latest official
OpenOCD releases do not support H7 series.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2020-10-10 21:22:05 +02:00 committed by Maureen Helm
parent e066a00d5e
commit ddd0a97206
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,8 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(jlink "--device=STM32H743ZI" "--speed=4000")
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset=hw")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)

View file

@ -160,7 +160,8 @@ flashed in the usual way (see :ref:`build_an_application` and
.. note::
If using OpenOCD you will need a recent development version as the last
official release does not support H7 series yet.
official release does not support H7 series yet. You can also choose the
``stm32cubeprogrammer`` runner.
Flashing
========