diff --git a/components/spi_flash/test/CMakeLists.txt b/components/spi_flash/test/CMakeLists.txt deleted file mode 100644 index 7ae600b5b2..0000000000 --- a/components/spi_flash/test/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -idf_component_register(SRC_DIRS "." - PRIV_INCLUDE_DIRS "." - PRIV_REQUIRES cmock test_utils spi_flash bootloader_support app_update - driver esp_timer) diff --git a/components/spi_flash/test/test_spiram_cache_flush.c b/components/spi_flash/test/test_spiram_cache_flush.c deleted file mode 100644 index 08bf0b8e50..0000000000 --- a/components/spi_flash/test/test_spiram_cache_flush.c +++ /dev/null @@ -1,184 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -/* -This code tests the interaction between PSRAM and SPI flash routines. -*/ - -#include -#include -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" -#include "unity.h" -#include -#include -#include -#include -#include "test_utils.h" -#include "esp_heap_caps.h" -#include "spi_flash_mmap.h" -#include "esp_partition.h" -#include "soc/soc.h" - -#if CONFIG_SPIRAM - -#if CONFIG_SPIRAM_USE_CAPS_ALLOC || CONFIG_SPIRAM_USE_MALLOC -#define USE_CAPS_ALLOC 1 -#endif // CONFIG_SPIRAM_USE_CAPS_ALLOC || CONFIG_SPIRAM_USE_MALLOC - -#define TSTSZ (16*1024) - -#if !CONFIG_FREERTOS_UNICORE - -volatile static int res[2], err[2]; - -void tstMem(void *arg) { - volatile unsigned char *mem=(volatile unsigned char*)arg; - int p=0; - while(1) { - for (int i=0; i