summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-17 08:34:14 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-17 08:34:14 +0000
commit44928321e6d4d67bcb3da7022ff9d23e0c8ee78b (patch)
treeea659ff38e179ee9b2513664a7dbf4958ba37e56 /doc
parent6af107855dd590a054b7bd610dadf3f7210c352c (diff)
downloadopenocd_libswd-44928321e6d4d67bcb3da7022ff9d23e0c8ee78b.tar.gz
openocd_libswd-44928321e6d4d67bcb3da7022ff9d23e0c8ee78b.tar.bz2
openocd_libswd-44928321e6d4d67bcb3da7022ff9d23e0c8ee78b.tar.xz
openocd_libswd-44928321e6d4d67bcb3da7022ff9d23e0c8ee78b.zip
Charles Hardin <ckhardin@gmail.com> and Øyvind Harboe
This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code. Multilevel commands also supported. git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 3fc5fa5e..e91e8a0a 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -1441,6 +1441,12 @@ Thus, to get the names of the associative array is easy:
Lists returned must be relatively small. Otherwise a range
should be passed in to the proc in question.
+Low level commands are prefixed with "openocd_", e.g. openocd_flash_banks
+is the low level API upon which "flash banks" is implemented.
+
+OpenOCD commands can consist of two words, e.g. "flash banks". The
+startup.tcl "unknown" proc will translate this into a tcl proc
+called "flash_banks".
@node Upgrading