- Cable driver helper API courtesy of Dick Hollenbeck <dick@softplc.com>
[fw/openocd] / tools / xsvf_tools / svf2xsvf.py
index bf2a12099f42dda152c1a24ca8cee419201ca63d..113e0a61a39fc736b164345fac918e83a9fef7e6 100644 (file)
@@ -704,6 +704,8 @@ try:
             nextTok()
             if tokVal != ';':
                 raise ParseError( tokLn, tokVal, "Expecting ';' after TRST trst_mode")
+            if doCOMMENTs:
+                writeComment( output, tokLn, 'TRST %s' % trst_mode )
             obuf = bytearray( 2 )
             obuf[0] = XTRST
             obuf[1] = trst_mode_allowed.index( trst_mode )  # use the index as the binary argument to XTRST opcode