Add: Support for pyOCD for STM32H43 nucleo board

Updated `board.cmake` and documentation.

Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
This commit is contained in:
Tobias Frauenschläger 2024-08-02 16:56:27 +02:00 committed by Anas Nashif
commit f4202faad5
2 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,9 @@ board_runner_args(openocd --cmd-post-verify "reset halt")
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
board_runner_args(jlink "--device=STM32H743ZI" "--speed=4000") board_runner_args(jlink "--device=STM32H743ZI" "--speed=4000")
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32h743zitx")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

View file

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