On Fri, Jul 1, 2011 at 12:47 PM, Spencer Oliver <[email protected]>wrote:
> On 1 July 2011 00:41, Andrew Leech <[email protected]> wrote: > > One other point, do you know whether you can get openocd to add it's own > > program directory to the search path for the source [find ...] lines? > It'd > > be great to only need the openocd.cfg file in the eclipse project dir, > and > > have it reference the interface and target files from the common openocd > > folder. Otherwise I'll likely copy the contents of the files into my > > openocd.cfg rather than have a copy of target and interface folders in > all > > my project folders. > > > > try something like: > add_script_search_dir {c:\cygwin\home\soliver\openocd\openocd\tcl} > > Cheers > Spen > I wrote a patch to fix this a long time ago, pre 0.4.0 i think. However i didn't test it under cygwin because I don't use it, only msys. It may need some adjustments. Andrew, you didn't say what platform you're on and how you built/installed openocd? The search path should be printed in the debug log, can you look there and see how it differs from where you have the files installed? /Andreas Found the relevant thread(s): http://www.mail-archive.com/[email protected]/msg10145.html http://www.mail-archive.com/[email protected]/msg11678.html
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
