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:
parent
edf09ca7f9
commit
f4202faad5
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
========
|
========
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue