Is stack space fixed size or dynamic

So by the time you get to the end of setup() all memory allocation should have been done, you determine how much RAM is left, subtract maybe 100 bytes to allow for the stack to grow, then malloc() the rest. That's your buffer.


Rob