Add warning to generated Doxyfile to edit Doxyfile.in.
[fw/openocd] / src / target / target / test_reset_syntax_error.cfg
index b720ca9dc4a66c5205fadeb7dde4da11a425ffd0..e573c1c0a46dc9b9c41b6eb0e815a0625b937ffe 100644 (file)
@@ -4,12 +4,14 @@
 # at91eb40a target
 
 #jtag scan chain
-jtag_device 4 0x1 0xf 0xe
+set _CHIPNAME syntaxtest
+jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 
 
 #target configuration
-target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
 
-[new_target_name] configure -event reset-init { 
+$_TARGETNAME configure -event reset-init { 
 
        syntax error
 }