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 eb79d784e0
commit 218947014c
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
}
void cache_hal_suspend(cache_type_t type)
{
s_cache_status[0] = cache_ll_l1_get_enabled_bus(0);