thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4343
Posted: 01:23pm 02 Oct 2022
Hi Volhout,
I'm pretty sure that is possible, I recall reading that the default can be overridden using a compiler flag for the standard Pico SDK tool-chain. However the additional stack has to come from somewhere and Peter has indicated it would be from the MMBasic heap, that is the memory allocated to MMBasic string and array variables. Note that I would not be in favour of multiple public forks of the Picomite firmware, that way lies madness, c.f. the ESP-01 (at least to my understanding.)
When I have the answers to questions like that at my finger-tips I will remove the "NOT A GURU" from my avatar . You'll need to check the relevant SDK documentation, I wouldn't be suprised if the CMM2 has a stack at least 4x the size of the Picomite; it has so much more RAM to play with.