mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-18 00:10:08 +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.
1.3 KiB
1.3 KiB