ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
296 stars 19 forks source link

Move section sram sramptr to ram d2 instead of stack section #611

Closed ohmtech-rdi closed 11 months ago

ohmtech-rdi commented 11 months ago

This PR changes the section sram behavior so that it uses our own linker script, which puts all SramPtr allocated memory in RAM_D2 instead of DTCMRAM. This allows to have the same stack size in general, where we have all our DSP filters memories.

In the future, we should put an option to specify if we want the SramPtr to be in the same section as the stack.