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:

(cherry picked from commit 8e4dc4e)

Original-Link: zephyrproject-rtos/zephyr#45778
Original-Signed-off-by: Hakan Jansson <[email protected]>
GitOrigin-RevId: 8e4dc4e
Cr-Build-Id: 8730937883239782945
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8730937883239782945
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I6ac4c48d9ce139387e9b1039f59dbc3db4077f54
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6028802
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Tristan Honscheid <[email protected]>
Reviewed-by: Tristan Honscheid <[email protected]>
Tested-by: Tristan Honscheid <[email protected]>
  • Loading branch information
Hakan Jansson authored and Chromeos LUCI committed Nov 19, 2024
1 parent ff448c1 commit 8b98c3c
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 8b98c3c

Please sign in to comment.