diff --git a/boards/realtek/rtl8752h_evb/board.cmake b/boards/realtek/rtl8752h_evb/board.cmake index a4744677ea4d..366846519ea8 100644 --- a/boards/realtek/rtl8752h_evb/board.cmake +++ b/boards/realtek/rtl8752h_evb/board.cmake @@ -2,6 +2,8 @@ # SPDX-License-Identifier: Apache-2.0 board_runner_args(jlink "--device=RTL8752H" "--speed=4000") +board_runner_args(pyocd "--target=RTL8752H" "--tool-opt=--pack=${ZEPHYR_HAL_REALTEK_MODULE_DIR}/bee/cmsis_pack/Realtek.RTL8752H_DFP.1.0.1.pack") include(${ZEPHYR_BASE}/boards/common/mpcli.board.cmake) include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) +include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/realtek/rtl8752h_evb/doc/index.rst b/boards/realtek/rtl8752h_evb/doc/index.rst index 7ce05386890f..a4da794ec079 100644 --- a/boards/realtek/rtl8752h_evb/doc/index.rst +++ b/boards/realtek/rtl8752h_evb/doc/index.rst @@ -118,6 +118,16 @@ the ``--runner`` (or ``-r``) option. Follow the instructions in the `J-Link Setu :flash-args: -r jlink :compact: +Using PyOCD +============ + +.. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: rtl8752h_evb/rtl8752hkf + :goals: flash + :flash-args: -r pyocd + :compact: + Visualizing the message *********************** diff --git a/west.yml b/west.yml index d73e04fb226d..8e41c44f9091 100644 --- a/west.yml +++ b/west.yml @@ -229,7 +229,7 @@ manifest: - hal - name: hal_realtek path: modules/hal/realtek - revision: 84a7fd556d95a411ee3cbf4ed29478eced58fb35 + revision: pull/23/head groups: - hal - name: hal_renesas