tcl/target: add SPDX tag
[fw/openocd] / tcl / target / test_reset_syntax_error.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # Test script to check that syntax error in reset
4 # script is reported properly.
5
6 # at91eb40a target
7
8 #jtag scan chain
9 set _CHIPNAME syntaxtest
10 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf
11
12 #target configuration
13 set _TARGETNAME $_CHIPNAME.cpu
14 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME
15
16 $_TARGETNAME configure -event reset-init {
17
18         syntax error
19 }