I'm using STM32F103R8T6 with RTOS with 2 threads
osThreadDef(ManagerTask, ManagerThread, osPriorityNormal, 0, 128);
ManagerTaskHandle = osThreadCreate(osThread(ManagerTask), NULL);
osThreadDef(RFIDTask, RFIDThread, osPriorityNormal, 0, 256);
RFIDTaskHandle = osThreadCreate(osThread(RFIDTask), NULL);
when i try to give the any thread a stack size of >512, neither of the tasks run, but when using 128 and 256 as the above example everything is fine.
So how to i know the max total stack size that i can allocate for my threads ?
in my RTOS Config
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
#define configTOTAL_HEAP_SIZE ((size_t)3072)