Merge branch 'fix/core1_access_cache_when_core0_close_cache_during_sleep' into 'master'

fix(esp_system): fix core1 access cache when core0 close cache during sleep

See merge request espressif/esp-idf!30941
This commit is contained in:
Lou Tian Hao 2024-05-21 10:52:18 +08:00
commit 4121274449

View File

@ -5,8 +5,9 @@
*/
#include "stdint.h"
#include "esp_attr.h"
void esp_ipc_isr_waiting_for_finish_cmd(void* ipc_isr_finish_cmd)
void IRAM_ATTR esp_ipc_isr_waiting_for_finish_cmd(void* ipc_isr_finish_cmd)
{
while (*(volatile uint32_t *)ipc_isr_finish_cmd == 0) { };
}