> The shorter one. But it is rather confusing to deal with the > different types of Tcl variables (or whatever they are?) which > have the same names, but obviously do different things. > > E.g. what exactly is the difference between _CHIPNAME and $CHIPNAME ? > > Would it be possible to get rid of one of the two classes of names?
It's just a convention. Perhaps we should think a bit about how we pass parameters to scripts? Instead of: source [find target/foo.cfg] We could define a procedure: load_target foo at91r40008 -- Ø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 Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development