From SDK doc: In RP2350 there are 2 blocks of 256 kB stripped memory and 2x4 KB (scratch)
You can put some (time critical) variables there:4.5.16.4.9. __scratch_x
4.5.16.4.10. __scratch_y
Scratch X/Y is commonly used for critical data and functions accessed only by one core (when only one core is accessing
the RAM bank, there is no opportunity for stalls)
Code:
uint32_t __scratch_x("my_group_name") foo_x = 23;uint32_t __scratch_y("my_group_name") foo_y = 23;
Statistics: Posted by gmx — Wed Dec 04, 2024 10:03 am