On Fri, Dec 17, 2010 at 5:33 PM, Peter Stuge <[email protected]> wrote: > Øyvind Harboe wrote: >> > In my opinion the if/then version makes it easier for new users >> > to customize cfg files. And since most users will need to >> > customize at least one cfg file, I think simplicity trumps short >> > files. >> >> I think you raise important enough points that unless they are >> addressed, we should keep it as is. > > It is an important point, but the if/else construct is just daft. I > did know a bit of Tcl before coming to OpenOCD the first time I saw > that construct I thought "there *MUST* be a better way to do that, > whatever that thing is doing".
I think I'm onto something: https://lists.berlios.de/pipermail/openocd-development/2010-December/017649.html -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
