Skip to content

Commit f84f986

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 <[email protected]>
1 parent c63963f commit f84f986

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: src/target/arc.h

+1
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"

Diff for: src/target/arc_cmd.c

+3
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,9 @@ const struct command_registration arc_cache_group_handlers[] = {
10011001
.usage = "",
10021002
.chain = arc_l2_cache_group_handlers,
10031003
},
1004+
{
1005+
.chain = rtt_target_command_handlers,
1006+
},
10041007
COMMAND_REGISTRATION_DONE
10051008
};
10061009

0 commit comments

Comments
 (0)