tcl/esp32s2: check memory protection on gdb attach
authorErhan Kurubas <erhan.kurubas@espressif.com>
Sat, 18 Jun 2022 21:01:28 +0000 (23:01 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 Jul 2022 08:24:28 +0000 (08:24 +0000)
commitc1ef4e52079c4aaf7aec2cda7bec46406bc8bbac
treeb722fef42fe5df1f2eb454738ac2b36bdd63bc07
parent3d61a9593e9f61e37dacff27c5dafc1fd452873d
tcl/esp32s2: check memory protection on gdb attach

Memory protection must be disabled to allow stub flasher
operate correctly.

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: I2f239d98fca6882c4361691af306a5652b58ee78
Reviewed-on: https://review.openocd.org/c/openocd/+/7036
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/esp32s2.cfg