I am using One FreeRTOS task for reading ADC value. Inside the task i am using one buffer for storing the ADC value. Here my doubt is, which memory is allocated for that buffer. FreeRTOS stack or system stack. System heap is allocated for FreeRTOS. In this FreeRTOS heap, it’s having individual stack for task. My FreeRTOS task buffer is using FreeRTOS stack or system stack?