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

DAP_INFO_CAPABILITIES should be available #85

Closed
UweBonnes opened this issue Nov 27, 2019 · 2 comments
Closed

DAP_INFO_CAPABILITIES should be available #85

UweBonnes opened this issue Nov 27, 2019 · 2 comments

Comments

@UweBonnes
Copy link

Hello,

I am trying to get the Blackmagic Debugger running with CMSIS_Dap adapters. I found your edbg a good start. As the DAP_PORT_JTAG may bot be implemented, is is needed outside of dap.c to know of "J" is in the return of ID_DAP_INFO/DAP_INFO_CAPABILITIES.

What would you propose to export these values?

@ataradov
Copy link
Owner

Yes, I think the fix for zero-length strings issue will do that automatically. I plan to add the ability to request any information and do the debugger info formatting from edbg.c. This will expose all those things.

@ataradov
Copy link
Owner

This is addressed in the most recent commit. There is now a dap_info() call that will return necessary information and capabilities definitions are also moved into the header file.

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

No branches or pull requests

2 participants