summaryrefslogtreecommitdiff
path: root/src/scripting.txt
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-28 08:02:58 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-28 08:02:58 +0000
commit7b2a563198a451e5a635034c06100c2fc3a78779 (patch)
treeac492274581bcd6ada342e4adfe0f7aa6cf5074e /src/scripting.txt
parentf25b1c78fb4c4cc27757883bedb84a8ffa8e90f3 (diff)
downloadopenocd+libswd-7b2a563198a451e5a635034c06100c2fc3a78779.tar.gz
openocd+libswd-7b2a563198a451e5a635034c06100c2fc3a78779.tar.bz2
openocd+libswd-7b2a563198a451e5a635034c06100c2fc3a78779.tar.xz
openocd+libswd-7b2a563198a451e5a635034c06100c2fc3a78779.zip
wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@736 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/scripting.txt')
-rw-r--r--src/scripting.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/scripting.txt b/src/scripting.txt
new file mode 100644
index 00000000..7242e73f
--- /dev/null
+++ b/src/scripting.txt
@@ -0,0 +1,25 @@
+Plan for hosted scripting support in OpenOCD
+============================================
+Jim Tcl support in OpenOCD currently exists as a patch.
+
+There has been some discussion on the list as to what
+purpose scripting support might serve in OpenOCD.
+
+Also Lua was proposed as a scripting language, but
+only Jim Tcl has been forwarded as a patch.
+
+Tcl is also backwards syntax compatible with OpenOCD
+commands.
+
+Uses of scripting
+=================
+
+Default implementation of procedures in tcl/procedures.tcl.
+
+- Polymorphic commands for target scripts.
+ - produce <file> <serialnumber>. Default implementation
+ is to ignore serial number and write a raw binary file
+ to beginning of first flash.
+ - reset handling. Precise control of how srst, trst &
+ tms is handled and when.
+ \ No newline at end of file