Skip to content

Run cmd#1947

Merged
RobertRostohar merged 3 commits intopyocd:developfrom
DavidLesnjak:run_cmd
Mar 31, 2026
Merged

Run cmd#1947
RobertRostohar merged 3 commits intopyocd:developfrom
DavidLesnjak:run_cmd

Conversation

@DavidLesnjak
Copy link
Copy Markdown
Collaborator

  • set logger level to INFO after session creation when still at WARNING
  • guard RTT channel setup when RTT server fails to start
  • guard SystemViewSVDat initialization when no SystemView channels are configured

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates pyocd run to behave more robustly when RTT/SystemView features are not available, and adjusts logging behavior to ensure INFO output is visible after the session is established.

Changes:

  • Adjust logging level after entering the session context (when still at WARNING).
  • Skip RTT channel configuration if the RTT server fails to start.
  • Only initialize/assemble SystemView .SVDat output when SystemView channels are actually configured.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RobertRostohar RobertRostohar merged commit 2c88c85 into pyocd:develop Mar 31, 2026
28 checks passed
@DavidLesnjak DavidLesnjak deleted the run_cmd branch April 1, 2026 11:14
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.

3 participants