Hello,

Øyvind Harboe napsal(a):
> Consider "flash banks 0".
> 
> The output it produces is pretty hellish to parse from Tcl
> (or any language really) + if we make that output of that
> command part of the API, then changing it becomes
> very awkward.
> 
> Here is a thought on how to address this problem:
> 
> 1. implement a low level fn that returns the information
> above in tcl-speak. This is the OpenOCD API.
> 
> 2. write a small tcl proc that formats the low level fn
> info into a human readable form. This proc is part
> of the "Telnet GUI" and not the API.

So this is like moving OpenOCD in the direction of becoming more a library
and transforming some code which is now internal to OpenOCD (in C) to TCL, 
right?

Pavel
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to