X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=doc%2Fmanual%2Fscripting.txt;h=f8764e2d7c2b5a6008f8c6e226278489b2d9df51;hb=f9056d222c401f782481d323206595eed17671cb;hp=e5b5f700cf79ae3e76331d6f17f9055d15b6d739;hpb=8b994145b849c40b0a195c3fb332b9770b2f9097;p=openocd.git diff --git a/doc/manual/scripting.txt b/doc/manual/scripting.txt index e5b5f700cf..f8764e2d7c 100644 --- a/doc/manual/scripting.txt +++ b/doc/manual/scripting.txt @@ -5,7 +5,7 @@ The scripting support is intended for developers of OpenOCD. It is not the intention that normal OpenOCD users will use tcl scripting extensively, write lots of clever scripts, -or contribute back to OpenOCD. +or contribute back to OpenOCD. Target scripts can contain new procedures that end users may tinker to their needs without really understanding tcl. @@ -31,7 +31,7 @@ Default implementation of procedures in tcl/procedures.tcl. file format and structure of serialnumber. Tcl allows an argument to consist of e.g. a list so the structure of the serial number is not limited to a single string. - - reset handling. Precise control of how srst, trst & + - reset handling. Precise control of how srst, trst & tms is handled. - replace some parts of the current command line handler. This is only to simplify the implementation of OpenOCD @@ -42,16 +42,16 @@ Default implementation of procedures in tcl/procedures.tcl. that return machine readable output. These low level tcl functions constitute the tcl api. flash_banks is such a low level tcl proc. "flash banks" is an example of - a command that has human readable output. The human - readable output is expected to change inbetween versions + a command that has human readable output. The human + readable output is expected to change in between versions of OpenOCD. The output from flash_banks may not be in the preferred form for the client. The client then has two choices a) parse the output from flash_banks or b) write a small piece of tcl to output the flash_banks output to a more suitable form. The latter may be simpler. - - + + @section scriptingexternal External scripting The embedded Jim Tcl interpreter in OpenOCD is very limited