aboutsummaryrefslogtreecommitdiff
path: root/src/xsvf/xsvf.c
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2015-08-07 11:29:38 +0300
committerPaul Fertser <fercerpav@gmail.com>2015-11-30 10:11:16 +0000
commit893de2fe95d77aad598ceaa8149e50f9253da0d9 (patch)
treeb1aa570ad9f9aa109a61bfed6bff384b5c22d79f /src/xsvf/xsvf.c
parent8b140fd724e96392b5903f00eab24ec801c7dcc9 (diff)
downloadriscv-openocd-893de2fe95d77aad598ceaa8149e50f9253da0d9.zip
riscv-openocd-893de2fe95d77aad598ceaa8149e50f9253da0d9.tar.gz
riscv-openocd-893de2fe95d77aad598ceaa8149e50f9253da0d9.tar.bz2
xsvf: output a warning suggesting using SVF
Change-Id: Iff13019aa96c528268a2be029b4acd65a00a598e Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2907 Tested-by: jenkins
Diffstat (limited to 'src/xsvf/xsvf.c')
-rw-r--r--src/xsvf/xsvf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 6f8db8c..a6de823 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -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) {