test(freertos): Added a test for vTaskDeleteWithCaps when stack is in ext RAM

This commit adds a stress tests for creating multiple tasks with
xTaskCreateWithCaps such that the stack is allocated in external SPIRAM.
Then the tasks self-delete. This is done iteratively as stress test.
This commit is contained in:
Sudeep Mohanty
2024-09-11 15:13:17 +02:00
parent f8894140ee
commit 02cd0253a1
2 changed files with 29 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ CONFIG_IDF_TARGET="esp32"
# Enable SPIRAM
CONFIG_SPIRAM=y
CONFIG_SPIRAM_OCCUPY_NO_HOST=y
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
# Disable encrypted flash reads/writes to save IRAM in this build configuration
CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=n