On Tue, Feb 28, 2012 at 1:29 AM, Austin, Alex <[email protected]> wrote: > How hard would it be to reimplement openocd, as a whole, as a library that > does everything except implement main(), load config files, and provide a > telnet server? > > That way it could be wrapped to provide the current capability very easily > and a python extension module could be easily written to service it from > that side. I have embedded Python and written extension modules before, > so I could probably make a rudimentary implementation. > > Is that something I ought to pursue?
Sounds like a better and more realistic approach. I don't much like Python in general(no static typing, which I like => yields refactoring, compile time checks...) + Python is way to heavy for OpenOCD. To allow OpenOCD to be used from the developers language of choice(as a library), but leave the Jim Tcl bits in, sounds like a more doable and palatable approach. -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 http://www.zylin.com/ ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
