Skip to content

Commit 9bb0a45

Browse files
cfriedtborneoa
authored andcommitted
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 <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/8720 Reviewed-by: zapb <[email protected]> Tested-by: jenkins Reviewed-by: Antonio Borneo <[email protected]>
1 parent 9ccd626 commit 9bb0a45

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/target/arc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "target_request.h"
2323
#include "target_type.h"
2424
#include "helper/bits.h"
25+
#include "rtt/rtt.h"
2526

2627
#include "arc_jtag.h"
2728
#include "arc_cmd.h"

src/target/arc_cmd.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,5 +906,8 @@ const struct command_registration arc_monitor_command_handlers[] = {
906906
.usage = "",
907907
.chain = arc_core_command_handlers,
908908
},
909+
{
910+
.chain = rtt_target_command_handlers,
911+
},
909912
COMMAND_REGISTRATION_DONE
910913
};

0 commit comments

Comments
 (0)