This is an automated email from Gerrit. "Daniel Goehring <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9262
-- gerrit commit 12a62b772e3e23b76acd0bca056d32eed38d2b4e Author: Daniel Goehring <[email protected]> Date: Mon Jul 14 19:22:24 2025 -0600 target/arm: add nested AP CTI support For the Cross-Trigger-Interface, add nested AP support. Change-Id: Ie566805785e669f71e3a5cc830a4f4c6189900fb Signed-off-by: Daniel Goehring <[email protected]> diff --git a/src/target/arm_cti.c b/src/target/arm_cti.c index 032e5ac379..6f05794f46 100644 --- a/src/target/arm_cti.c +++ b/src/target/arm_cti.c @@ -502,7 +502,11 @@ COMMAND_HANDLER(handle_cti_create) list_add_tail(&cti->lh, &all_cti); - cti->ap = dap_get_ap(cti->spot.dap, cti->spot.ap_num); + if (cti->spot.ap_num_gateway == DP_APSEL_INVALID) + cti->ap = dap_get_ap(cti->spot.dap, cti->spot.ap_num); + else + cti->ap = dap_get_ap_gateway(cti->spot.dap, cti->spot.ap_num, cti->spot.ap_num_gateway); + if (!cti->ap) { command_print(CMD, "Cannot get AP"); free(cti->name); --
