From 44928321e6d4d67bcb3da7022ff9d23e0c8ee78b Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 17 Jul 2008 08:34:14 +0000 Subject: Charles Hardin and Øyvind Harboe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- doc/openocd.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/openocd.texi') 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 -- cgit v1.2.3