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

rp2pio: Add offset & pc (program counter) properties #9594

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Sep 4, 2024

If StateMachine.run needs to contain a JMP instruction, the offset property can be used to correctly encode the target address.

StateMachine.pc is useful for debugging, as it can give an overall statistical idea of which state machine instructions are executing, or show the instruction where the machine is stalled.

If StateMachine.run needs to contain a JMP instruction, the offset property
can be used to correctly encode the target address.

StateMachine.pc is useful for debugging, as it can give an overall
statistical idea of which state machine instructions are executing, or
show the instruction where the machine is stalled.
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you!

@tannewt tannewt merged commit 3d93006 into adafruit:main Sep 4, 2024
133 checks passed
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.

2 participants