test_reset_syntax_error.cfg 449 B

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