Skip to content

Commit

Permalink
Merge pull request #889 from jannic/issue-888
Browse files Browse the repository at this point in the history
  • Loading branch information
thejpster authored Jan 13, 2025
2 parents c7c44d8 + 9f66996 commit bfde496
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rp2040-hal/src/multicore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ impl<const SIZE: usize> Stack<SIZE> {
/// No mutable references to that memory must exist.
/// Therefore, a function that gets passed such an object is free to write
/// to arbitrary memory locations in the range.
#[derive(Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct StackAllocation {
/// Start and end pointer of the StackAllocation as a Range
mem: Range<*mut usize>,
Expand Down
2 changes: 2 additions & 0 deletions rp235x-hal/src/multicore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ impl<const SIZE: usize> Stack<SIZE> {
/// No mutable references to that memory must exist.
/// Therefore, a function that gets passed such an object is free to write
/// to arbitrary memory locations in the range.
#[derive(Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct StackAllocation {
/// Start and end pointer of the StackAllocation as a Range
mem: Range<*mut usize>,
Expand Down

0 comments on commit bfde496

Please sign in to comment.