-
Notifications
You must be signed in to change notification settings - Fork 486
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
add logging function to rtt sub-command. #1527
Conversation
Sorry to jump into this PR... I'm currently doing some API experiments and one of my ideas was to do some RTT console fetching in an example. Unfortunately the current RTT implementation is not very flexible (underestimation). |
@rgrr, |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@zjli-2019 : perhaps we have different sources, but I cannot find something like pyocd.debug.rtt or RTTControlBlock in pyocd. Do you have a link to a file? |
I'm planning a release of everything on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the minor file-related requests.
On a more functional level, do you think it would make sense to have logging be independent of viewing/input? So you could simultaneously view and log, or save a log from an interactive session.
Add copyright; add an empty line.
It is nice to be able to simultaneously view and log, or save a log from an interactive session. In my case, an up channel is used to transfer binary trace data. Logging mode |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
It will be handy to log data from up channel to a file, just like JLinkRTTLogger.
So, a new option
--log-file
is added to specify the file name and enable logging mode.Other two options are also added to select up/down channels.