Skip to content

Commit

Permalink
boards: infineon: cyw920829m2evk_02: set openocd target handle
Browse files Browse the repository at this point in the history
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: #45778

Signed-off-by: Hakan Jansson <[email protected]>
  • Loading branch information
hakanjansson authored and nashif committed Nov 16, 2024
1 parent 2eda6df commit 8e4dc4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boards/infineon/cyw920829m2evk_02/board.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 8e4dc4e

Please sign in to comment.