I am using FreeRTOS to develop Firmware on STM32 MCU.
What are the techniques I can use to determine stack size required for individual task which is created using FreeRTOS xTaskCreate API?
I know this depends on work done by individual task but I need to know how can I find out nearby stackdepth value to make sure my Task will work without any stack overflow error during runtime.