xsvf: output a warning suggesting using SVF 07/2907/3
authorPaul Fertser <fercerpav@gmail.com>
Fri, 7 Aug 2015 08:29:38 +0000 (11:29 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 30 Nov 2015 10:11:16 +0000 (10:11 +0000)
Change-Id: Iff13019aa96c528268a2be029b4acd65a00a598e
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2907
Tested-by: jenkins
src/xsvf/xsvf.c

index 6f8db8c..a6de823 100644 (file)
@@ -273,6 +273,7 @@ COMMAND_HANDLER(handle_xsvf_command)
        if ((CMD_ARGC > 2) && (strcmp(CMD_ARGV[2], "quiet") == 0))
                verbose = 0;
 
+       LOG_WARNING("XSVF support in OpenOCD is limited. Consider using SVF instead");
        LOG_USER("xsvf processing file: \"%s\"", filename);
 
        while (read(xsvf_fd, &opcode, 1) > 0) {