RP2040 has special address range for defining blocked vs stripped addressing. When using blocked addressing you can use standard C sections. The multicore API allows moving the core 1 stack. You can define that like a variable in a special C section which is mapped onto a block. Functions will require a custom version of not in flash. You can swap out the linker script in CMake. There is documentation for this in C/C++ CMake for PICO. Note this script should be used for all compilations, so there should be no issues. They did not create a blocked RAM linker script. Here are the linker scripts for RP2350: https://github.com/raspberrypi/pico-sdk ... rt0/rp2350
Statistics: Posted by dthacher — Mon Nov 04, 2024 6:47 am