I have a bug that looks like if I was using too much stack.
My configuration is as follow:
- Z-Uno bootloader version:3.0.9
Security:none
Frequency:EU
Device included:yes
Device included securely by controller:no
Controller:Fibaro HC2
I use a Serial.println() inside a 4th level sub function after having filled the buffer using some Serial.print(). Strings are 20-30 chars long. What I see on the screen, is not what I was waiting (most of the time, nothing is printed).
If I just place the final Serial.println() in the calling function (ie at the 3rd level) it works.
All functions have very few things on the stack, at most 3 32bit variables, I extensively use global vars.
Question: is there a way to change stack size?
Thanks,
Yves