mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
spi_flash: enable spi flash cache test on c6 h2
This commit is contained in:
parent
698752684e
commit
3556fe9326
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -21,7 +21,6 @@
|
||||
spi_flash_disable_cache = 0x400001f0;
|
||||
spi_flash_restore_cache = 0x400001f4;
|
||||
spi_flash_cache_enabled = 0x400001f8;
|
||||
spi_flash_enable_cache = 0x400001fc;
|
||||
esp_enable_cache_flash_wrap = 0x40000200;
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -21,7 +21,6 @@
|
||||
spi_flash_disable_cache = 0x400001e8;
|
||||
spi_flash_restore_cache = 0x400001ec;
|
||||
spi_flash_cache_enabled = 0x400001f0;
|
||||
spi_flash_enable_cache = 0x400001f4;
|
||||
esp_enable_cache_flash_wrap = 0x400001f8;
|
||||
|
||||
|
||||
|
@ -62,10 +62,6 @@ TEST_CASE("spi_flash_cache_enabled() works on both CPUs", "[spi_flash][esp_flash
|
||||
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2)
|
||||
|
||||
#define C6_H2_ROM_IMPL (CONFIG_SPI_FLASH_ROM_IMPL && (CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2))
|
||||
|
||||
#if !C6_H2_ROM_IMPL
|
||||
//TODO: IDF-6931
|
||||
|
||||
// This needs to sufficiently large array, otherwise it may end up in
|
||||
// DRAM (e.g. size <= 8 bytes && ARCH == RISCV)
|
||||
@ -104,7 +100,6 @@ TEST_CASE("invalid access to cache raises panic (PRO CPU)", "[spi_flash][reset="
|
||||
xTaskCreatePinnedToCore(&cache_access_test_func, "ia", 2048, NULL, 5, NULL, 0);
|
||||
vTaskDelay(1000/portTICK_PERIOD_MS);
|
||||
}
|
||||
#endif //#if !C6_H2_ROM_IMPL
|
||||
|
||||
#ifndef CONFIG_FREERTOS_UNICORE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user