Hi I have a question about the configMINIMAL_STACK_SIZE. In the demo on which my application was based the value for configMINIMAL_STACK_SIZE was set to 140 words (Renesas RX63N). And the documentation tells me that this value should generally not be reduced.
But where does this value of 140 come from? Because I’ve never seen the IDLE task use more than 25 words, and when I do reduce configMINIMAL_STACK_SIZE to only 40 everything still works fine. So it feels like I’m wasting 115 * 4 = 460 bytes, only for the Idle task. And if I keep such margin for all my tasks, this rapidly adds up to a few kilo bytes.
So I really want to understand this value so I can reduce it without risking stack overflows.