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

trace: type annotations #1427

Merged
merged 3 commits into from
Jun 26, 2022
Merged

Conversation

flit
Copy link
Member

@flit flit commented Jun 25, 2022

This patch adds type annotations for the trace (SWO/SWV) classes, everything under pyocd.trace. It also includes the fix from #1426, and a couple related changes.

flit added 3 commits June 25, 2022 15:32
The exception_number_to_name() API added to CoreTarget does not have
the name_thread parameter that was on this method on CortexM. The
CortexM implementation also removed this parameter, since it was only
used in the SWOParser class which really didn't need it.
@flit flit merged commit 06a7233 into pyocd:develop Jun 26, 2022
@flit flit deleted the cleanup/trace_type_annotation branch June 26, 2022 20:05
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.

1 participant