test(mspi): add flash api run on psram stack test for xip_psram case

This commit is contained in:
armando
2026-01-28 15:46:31 +08:00
parent 030454e5ac
commit 1f91204fd8
3 changed files with 62 additions and 3 deletions
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2020-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -58,7 +58,10 @@ TEST_CASE("stress test psram heap allocable", "[psram][manual][ignore]")
}
}
#if CONFIG_SPIRAM_FETCH_INSTRUCTIONS && CONFIG_SPIRAM_RODATA
#if CONFIG_SPIRAM_XIP_FROM_PSRAM
/*---------------------------------------------------------------
SPI1 with XIP
---------------------------------------------------------------*/
#include "esp_partition.h"
#include "driver/gptimer.h"
#include "esp_rom_spiflash.h"