- Is there any solution for this issue? Can you please share the link for this ticket?
I'm attempting to start a task with memory allocated in the PSRAM. When using xTaskCreateStaticPinnedToCore to start the task, the ESP32 is crashing.
The code being used to start the task is below. I'm also including a snapshot from sdkconfig and also the crash message.
The chip being used is a WROVER-IE. ESP IDF is version 4.3.1.
Code: Select all
StaticTask_t _x_zigbee_task_buffer;
StackType_t _x_zigbee_task_stack;
_x_zigbee_task_stack = (uint8_t*)malloc(ZIGBEE_STACK_SIZE);
xTaskCreateStaticPinnedToCore(&zigbeeProcessTask, "zigbeeProcessTask", ZIGBEE_STACK_SIZE, (void*)skip_intitialization, 2, _x_zigbee_task_stack, &_x_zigbee_task_buffer, 1);