Skip to content

Commit ecafece

Browse files
committed
rp2xxx: add comments to scratch sections
1 parent f86fdfe commit ecafece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
// Section name for placement in the second to last SRAM bank, known as scratch X
2+
// Scratch banks can be used for functions and critical data used by one core to avoid stalling.
13
pub const scratch_x = ".scratch_x";
4+
5+
// Section name for placement in the last SRAM bank, known as scratch Y
26
pub const scratch_y = ".scratch_y";

0 commit comments

Comments
 (0)