debuggers: import openocd-0.7.0
Initial check-in of openocd-0.7.0 as it can be downloaded from http://sourceforge.net/projects/openocd/files/openocd/0.7.0/ Any modifications will follow. Change-Id: I6949beaefd589e046395ea0cb80f4e1ab1654d55
This commit is contained in:
36
debuggers/openocd/jimtcl/examples.api/README
Normal file
36
debuggers/openocd/jimtcl/examples.api/README
Normal file
@ -0,0 +1,36 @@
|
||||
Jim examples
|
||||
============
|
||||
BSD 2-clause license, (c) 2010 Wojciech A. Koszek <wkoszek@FreeBSD.org>
|
||||
|
||||
|
||||
This directory contains examples of Jim interpreter API. In order to start
|
||||
working with Jim API one may just want to copy existing example .c file
|
||||
into new file, modify Makefile and start working on a new program.
|
||||
|
||||
Existing examples
|
||||
=================
|
||||
|
||||
jim_command
|
||||
Simple command implementation in Jim's API. Command is then executed
|
||||
in a script encoded within a program.
|
||||
|
||||
jim_hello
|
||||
Standard "Hello world!" program.
|
||||
|
||||
jim_inline
|
||||
Similar "Hello world!" program, but the result comes from a Tcl
|
||||
script interpreted in Jim. Result is printed back on a terminal.
|
||||
|
||||
jim_list
|
||||
Will teach you how to create a list in Jim's API. Once created,
|
||||
will show how to name and export it, so that variable is visible in
|
||||
the script's source code. Once done, interpretation of separate
|
||||
print.tcl file is presented. As a result, the script can print a
|
||||
list members created from within ANSI C program.
|
||||
|
||||
jim_obj
|
||||
Basic object creation in Jim.
|
||||
|
||||
jim_return
|
||||
Similar to jim_command example, but implemented command actually
|
||||
returns a value.
|
||||
Reference in New Issue
Block a user