Skip to content

Derive Debug and defmt::Format for StackAllocation#889

Merged
thejpster merged 1 commit intorp-rs:mainfrom
jannic:issue-888
Jan 13, 2025
Merged

Derive Debug and defmt::Format for StackAllocation#889
thejpster merged 1 commit intorp-rs:mainfrom
jannic:issue-888

Conversation

@jannic
Copy link
Member

@jannic jannic commented Jan 13, 2025

The derived formatting looks like StackAllocation { mem: 0x20000040..0x20004040 }. While this exposes an implementation detail (the naming of the mem field), I think it's good enough for debug output.

Closes #888

@thejpster
Copy link
Member

I really need to work out how to merge these HALs so we don't have to do everything twice.

@thejpster thejpster merged commit bfde496 into rp-rs:main Jan 13, 2025
49 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.

multicore::StackAllocation should impl Debug

2 participants