ESP32 IDF 4.3 创建任务使用外部PSRAM分配内存,在任务里操作FLASH死机

623048750@qq.com
Posts: 6
Joined: Thu Nov 25, 2021 9:55 am

ESP32 IDF 4.3 创建任务使用外部PSRAM分配内存,在任务里操作FLASH死机

Postby 623048750@qq.com » Tue Dec 21, 2021 7:00 am

ESP32 IDF 4.3 创建任务使用外部PSRAM分配内存,在任务里操作FLASH一定会死机,请问是什么原因或者有这种限制吗

static StaticTask_t xTaskBuffer;
static EXT_RAM_ATTR StackType_t xStack[ 4096 ]; //静态缓存声明到外部RAM

xHandle = xTaskCreateStatic(
test, // Function that implements the task.
"test", // Text name for the task.
4096, // Stack size in bytes, not words.
NULL, // Parameter passed into the task.
5,// Priority at which the task is created.
xStack, // Array to use as the task's stack.
&xTaskBuffer ); // Variable to hold the task's data structure.

void test()
{
操作flash就死机
}

Who is online

Users browsing this forum: No registered users and 89 guests