Skip to content

Commit 6fd1fd9

Browse files
committed
target/arc: add RTT commands
Since RTT is architecture agnostic, add support for using it on the ARC architecture as well. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
1 parent c63963f commit 6fd1fd9

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
@@ -23,6 +23,7 @@
2323
#include "target_type.h"
2424
#include "helper/bits.h"
2525
#include "smp.h"
26+
#include "rtt/rtt.h"
2627

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

src/target/arc_cmd.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,5 +1086,8 @@ const struct command_registration arc_monitor_command_handlers[] = {
10861086
.usage = "",
10871087
.chain = arc_core_command_handlers,
10881088
},
1089+
{
1090+
.chain = rtt_target_command_handlers,
1091+
},
10891092
COMMAND_REGISTRATION_DONE
10901093
};

0 commit comments

Comments
 (0)