Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target/arc + risc-v: add RTT commands #66

Open
wants to merge 2 commits into
base: zephyr-20220611
Choose a base branch
from

Conversation

cfriedt
Copy link
Member

@cfriedt cfriedt commented Dec 9, 2024

From https://review.openocd.org/c/openocd/+/8234

The original patch to add the SEGGER RTT tooling added it only for ARM devices. But now JLink supports RISC-V targets and we can now add the RTT command domain to the RISC-V target. I've tested this on my RISC-V 32-bit chip and it appears to be working - I was able to communicate with the device using the RTT.

Additionally, add support for the ARC architecture, since RTT itself is architecture agnostic.

Chris Friedt added 2 commits December 9, 2024 16:12
The original patch to add the SEGGER RTT tooling added it only for ARM
devices. But now JLink supports RISC-V targets and we can now add the
RTT command domain to the RISC-V target. I've tested this on my RISC-V
32-bit chip and it appears to be working - I was able to communicate with
the device using the RTT.

This patch originally appeared here:
https://review.openocd.org/c/openocd/+/8234

Signed-off-by: Morozov-5F <[email protected]>
Signed-off-by: Chris Friedt <[email protected]>
Since RTT is architecture agnostic, add support for using it on
the ARC architecture as well.

Signed-off-by: Chris Friedt <[email protected]>
@cfriedt cfriedt marked this pull request as ready for review December 10, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant