my FreeRTOS project on STM32F103 exhibits a strange behavior with thread stack sizes

Hey guys my FreeRTOS project on STM32F103 exhibits a strange behavior with thread stack sizes. ManagerTask android RFIDTask function flawlessly with 128 and 256 bytes of stack space, respectively. However, increasing either thread's stack beyond 512 bytes leads to both threads crashing with what appears to be stack corruption , something like "nonsensical values in stack memory".
How can I determine the
MAX SAFE TOTAL
stack size for both threads, considering
configMINIMAL_STACK_SIZE
is set to 128 bytes?
configTOTAL_HEAP_SIZE
is currently set to 4096 bytes.
@Middleware & OS
file0.jpg
Was this page helpful?