Skip to content

ctrace: Support default file name scheme changes in spec (for TB channel) #2573

Description

@jreineckearm

Describe The Problem To Be Solved
The trace specification has evolved to support selection from multiple trace buffers in a system.
These changes have an impact on default file names (input: *.ctrace-run.yml / *.<channel>.raw, output: *.<channel>.csv) which need to be reflected in the ctrace decoder.

Related specification changes in PR Open-CMSIS-Pack/cmsis-toolbox#675

(Optional): Suggest A Solution

  • Extend default trace output file naming scheme to TB, support name extension as specified.
    • If multiple trace: child nodes available in cbuild-run file, then use the first enabled. As per spec there currently must be only one list entry. But please gracefully ignore potential other entries in case we need to experiment with multiple trace sinks and hence multiple list nodes.
  • TB naming scheme also applies to CSV output files.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status
Backlog
Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions