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

Segger RTT and ARM Semihosting #17

Open
Avamander opened this issue May 5, 2021 · 3 comments
Open

Segger RTT and ARM Semihosting #17

Avamander opened this issue May 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Avamander
Copy link
Member

I would really like to add a bundled back-end for both Segger RTT and ARM Semihosting to this library.

The primary advantage of both approaches is the lack of need for anything else than the JTAG/SWD port access. Semihosting is something that's also accessible with open-source tools such as OpenOCD.

@Avamander Avamander added the enhancement New feature or request label May 5, 2021
@2bndy5
Copy link
Member

2bndy5 commented May 14, 2021

Should these extra interfaces only get built when build type is set to DEBUG? I imagine the build would fail if the end user doesn't have the proper dependency software/drivers installed. We could also employ a CLI arg to CMake to avoid requiring the user to satisfy these circumstantial dependencies.

@Avamander
Copy link
Member Author

I imagine the build would fail if the end user doesn't have the proper dependency software/drivers installed.

The implementations I've seen are quite self-contained, but could be built only when explicitly enabled. Either way it's usually without external dependencies.

@2bndy5
Copy link
Member

2bndy5 commented May 15, 2021

Clearly, I need to explorer semi-hosting more. I'll probably start with how PlatformIO implements debuggers... BTW, I have added a library.json (in the "2bndy5-refactor" branch) for compatibility with PlatfomIO, but I haven't actually tested this scenario since we'd be primarily relying on the Arduino framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants