target: add Espressif ESP32-S2 basic support
[fw/openocd] / tcl / target / tmpa900.cfg
index dd5d177d5a8fa90034958b8a6d796b7a7e74c71a..8e70700201cb38a21b3ac8804cfb88430bff096a 100644 (file)
@@ -3,15 +3,15 @@
 ######################################
 
 if { [info exists CHIPNAME] } {
-   set  _CHIPNAME $CHIPNAME
+   set _CHIPNAME $CHIPNAME
 } else {
-   set  _CHIPNAME tmpa900
+   set _CHIPNAME tmpa900
 }
 
 # Toshiba TMPA900 series MCUs are always little endian as per datasheet.
 set _ENDIAN little
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
    set _CPUTAPID 0x07926031
@@ -28,7 +28,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
 
 #use combined on interfaces or targets that can't set TRST/SRST separately
 reset_config trst_and_srst
-adapter_nsrst_delay 20
+adapter srst delay 20
 jtag_ntrst_delay 20
 
 ######################