tcl/target/stm32l4x: switch to new TPIU/SWO support
[fw/openocd] / tcl / board / crossbow_tech_imote2.cfg
index 7e9d487ca6d734eafc0561ca9116c60ee1a66341..277c353a1be4c4b2537727f27af9727bb460218a 100644 (file)
@@ -4,9 +4,10 @@ set  CHIPNAME imote2
 source [find target/pxa270.cfg]
 
 # longer-than-normal reset delay
-jtag_nsrst_delay 800 
+adapter srst delay 800
 
 reset_config trst_and_srst separate
 
 # works for P30 flash
-flash bank cfi 0x00000000 0x2000000 2 2 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x00000000 0x2000000 2 2 $_TARGETNAME