From: openocd-gerrit <ope...@us...> - 2025-02-16 16:25:12
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 9bb0a4558bc84b8be63aa937d4b7b9283614f132 (commit) from 9ccd6265dd56c75cc8d58359d33bf6d65a7524ab (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9bb0a4558bc84b8be63aa937d4b7b9283614f132 Author: Chris Friedt <cf...@te...> Date: Mon Dec 9 16:11:03 2024 -0500 target/arc: add RTT commands Since RTT is architecture agnostic, add support for using it on the ARC architecture as well. Change-Id: Icd0dec105177a1a224bfb1a63f0be5f03561b166 Signed-off-by: Chris Friedt <cf...@te...> Reviewed-on: https://review.openocd.org/c/openocd/+/8720 Reviewed-by: zapb <de...@za...> Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/src/target/arc.h b/src/target/arc.h index a351802ac..4255840d1 100644 --- a/src/target/arc.h +++ b/src/target/arc.h @@ -22,6 +22,7 @@ #include "target_request.h" #include "target_type.h" #include "helper/bits.h" +#include "rtt/rtt.h" #include "arc_jtag.h" #include "arc_cmd.h" diff --git a/src/target/arc_cmd.c b/src/target/arc_cmd.c index e7760b037..bf8a8aa28 100644 --- a/src/target/arc_cmd.c +++ b/src/target/arc_cmd.c @@ -906,5 +906,8 @@ const struct command_registration arc_monitor_command_handlers[] = { .usage = "", .chain = arc_core_command_handlers, }, + { + .chain = rtt_target_command_handlers, + }, COMMAND_REGISTRATION_DONE }; ----------------------------------------------------------------------- Summary of changes: src/target/arc.h | 1 + src/target/arc_cmd.c | 3 +++ 2 files changed, 4 insertions(+) hooks/post-receive -- Main OpenOCD repository |