mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
fix(cache): fixed cache hal ctx not initialised in app issue
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user