riscv-openocd/tcl/target/test_reset_syntax_error.cfg

20 lines
449 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# Test script to check that syntax error in reset
# script is reported properly.
# at91eb40a target
#jtag scan chain
set _CHIPNAME syntaxtest
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf
#target configuration
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME
$_TARGETNAME configure -event reset-init {
syntax error
}