From 8e4dc4e7fa74fd46221a11450281e0c5eae5bb6a Mon Sep 17 00:00:00 2001 From: Hakan Jansson Date: Mon, 21 Oct 2024 15:47:57 +0200 Subject: [PATCH] boards: infineon: cyw920829m2evk_02: set openocd target handle Openocd target cyw20829 does not define _TARGETNAME which is used by default by the openocd west runner when using CONFIG_DEBUG_THREAD_INFO. This is similar to the issue previously addressed for STM32H7: Link: https://github.com/zephyrproject-rtos/zephyr/issues/45778 Signed-off-by: Hakan Jansson --- boards/infineon/cyw920829m2evk_02/board.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/infineon/cyw920829m2evk_02/board.cmake b/boards/infineon/cyw920829m2evk_02/board.cmake index 0c9bf12801b..be95fa715a3 100644 --- a/boards/infineon/cyw920829m2evk_02/board.cmake +++ b/boards/infineon/cyw920829m2evk_02/board.cmake @@ -1,6 +1,7 @@ # Copyright (c) 2024 Cypress Semiconductor Corporation. # SPDX-License-Identifier: Apache-2.0 +board_runner_args(openocd "--target-handle=TARGET.cm33") include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) board_runner_args(jlink "--device=CYW20829_tm") include (${ZEPHYR_BASE}/boards/common/jlink.board.cmake)