Duane Ellis: "target as an [tcl] object" feature.
[fw/openocd] / src / target / target / wi-9c.cfg
index 02a109323b74bd01b5ad8618187086956f40b5a9..08f326e60650f5b2e9643c04140117bd4bda2b6b 100644 (file)
@@ -17,8 +17,8 @@ jtag_ntrst_delay 0
 #target <type> <endianess> <reset mode> <JTAG pos> <variant>
 target arm926ejs big 0 arm926ejs
 
-target_script 0 reset event/wi-9c_reset.script
-run_and_halt_time 0 30
+[new_target_name] configure -event old-post_reset { script event/wi-9c_reset.script }
+
 
 #working area <target#> <address> <size> <backup|nobackup>
 working_area 0 0x00000000 0x1000 backup