boards: fk743m5: add pyocd runer support
add pyocd support and fix debug section in doc Signed-off-by: Shan Pen <bricle031@gmail.com>
This commit is contained in:
parent
0b65f62ddb
commit
b194050402
2 changed files with 15 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
|
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
|
||||||
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
||||||
board_runner_args(jlink "--device=STM32H743XI" "--speed=4000")
|
board_runner_args(jlink "--device=STM32H743XI" "--speed=4000")
|
||||||
|
board_runner_args(pyocd "--target=STM32H743XIHx")
|
||||||
|
|
||||||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
||||||
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
@ -122,7 +122,19 @@ Then, press the RESET button, you should see the following message:
|
||||||
Debugging
|
Debugging
|
||||||
=========
|
=========
|
||||||
|
|
||||||
This current Zephyr port does not support debugging.
|
You can debug an application using the SWD interface with a J-Link or ST-Link. For more
|
||||||
|
details, please refer to the `Flashing`_ section and run the ``west debug`` command
|
||||||
|
instead of ``west flash``.
|
||||||
|
|
||||||
|
Here is an example for the :zephyr:code-sample:`hello_world`
|
||||||
|
application.
|
||||||
|
|
||||||
|
.. zephyr-app-commands::
|
||||||
|
:zephyr-app: samples/hello_world
|
||||||
|
:board: fk743m5_xih6
|
||||||
|
:goals: debug
|
||||||
|
:flash-args: -r pyocd
|
||||||
|
:compact:
|
||||||
|
|
||||||
References
|
References
|
||||||
**********
|
**********
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue