esp-idf
esp-idf copied to clipboard
xtaskcreate error (IDFGH-12716)
Answers checklist.
- [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
every time I try to start a task I get an insufficient memory error I have enough memory space as shown in the picture 4.7MB PSRAM 263BYTE INTERNAL RAM
Would you please help share more details as per the template? Thanks.
Since PSRAM memory comes with some restrictions, task stacks by default allocate from internal memory. But it is possible provide a PSRAM stack manually with xTaskCreateStatic
if CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY is enabled.
Since PSRAM memory comes with some restrictions, task stacks by default allocate from internal memory. But it is possible provide a PSRAM stack manually with
xTaskCreateStatic
if CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY is enabled.
yes already enabled
yes already enabled
As I said:
Since PSRAM memory comes with some restrictions, task stacks by default allocate from internal memory. But it is possible provide a PSRAM stack manually with xTaskCreateStatic
Marking this one as resolved, please reopen it if there is still any outstanding issues.