fix(cache): fixed cache hal ctx not initialised in app issue

This commit is contained in:
Armando
2024-12-16 11:53:33 +08:00
parent a3f70ef45b
commit 63ea6113ba
2 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -8,6 +8,11 @@
static uint32_t s_cache_status[2];
void cache_hal_init(void)
{
//for compatibility
}
/**
* On ESP32, The cache_hal_suspend()/cache_hal_resume() are replacements
* for Cache_Read_Disable()/Cache_Read_Enable() in ROM.