mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-15 23:09:35 +01:00
DPORT access protection can not work when the other CPU is stalled. Writes to DPORT registers in esp_restart caused the program to hang due to access protection, and the reset happened due to RTC_WDT, not SW_RST. This change adds esp_dport_access_int_deinit function and calls it from esp_restart once the other core is stalled.
6.2 KiB
6.2 KiB