ohmtech-rdi / eurorack-blocks

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

Fix stack size check #602

Closed ohmtech-rdi closed 11 months ago

ohmtech-rdi commented 11 months ago

This PR fixes the stack size check to 128K, as we are using for now the DTCMRAM section for both the flash and qspi erbb section variants.

This is not exactly precise, as the stack is a bit used prior to the check, but should be good enough for checks. Also, when running on a 64-bit platform, the stack might be a bigger on the simulator, but then it's the user responsibility to put explicit types (for example std::int32_t instead of int)