mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
f327a9b1cf
When ‘reset halt’ command is executed, OpenOCD will take the APP CPU out of reset and enable the clock. At this point, user can set a breakpoint on code which will run on APP CPU. Previously, app startup code would do another reset of APP CPU, thereby removing any breakpoints which may have been set. This change makes APP CPU reset conditional on DPORT_APPCPU_CLKGATE_EN bit, which is 0 by default but is set to 1 by OpenOCD after reset.