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

This commit is contained in:
armando
2026-01-28 01:27:37 +00:00
committed by Armando (Dou Yiwen)
parent f316aa1c2d
commit 9ca37ed6db
4 changed files with 63 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"