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

This commit is contained in:
armando
2026-01-28 15:30:15 +08:00
parent 77930c3427
commit 165ecbab44
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"