mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
component/esp32 : fix library sport access protections.
1. add esp32 library access DPORT register protections. 2. add bluetooth library access DPORT register protections. 3. change register operation(suffix/prefix) to new style.
This commit is contained in:
@@ -131,6 +131,16 @@ void IRAM_ATTR esp_dport_access_stall_other_cpu_end(void)
|
||||
#endif /* CONFIG_FREERTOS_UNICORE */
|
||||
}
|
||||
|
||||
void IRAM_ATTR esp_dport_access_stall_other_cpu_start_wrap(void)
|
||||
{
|
||||
DPORT_STALL_OTHER_CPU_START();
|
||||
}
|
||||
|
||||
void IRAM_ATTR esp_dport_access_stall_other_cpu_end_wrap(void)
|
||||
{
|
||||
DPORT_STALL_OTHER_CPU_END();
|
||||
}
|
||||
|
||||
static void dport_access_init_core0(void *arg)
|
||||
{
|
||||
int core_id = xPortGetCoreID();
|
||||
|
Reference in New Issue
Block a user