On Thu, Jul 14, 2011 at 8:58 AM, Tomek CEDRO <tomek.ce...@gmail.com> wrote: > Hello! > > Sorry for cross-posting but this somehow touches both applications. > LibSWD is a standalone library that can generate SWD operations, then > flush them into device driver. This driver (some function set) is > application specific, so it cannot be compiled in into libswd, but > rather linked with libswd during application compilation. However > libswd then complains about missing driver functions at linking time. > > For UrJTAG I have copied sources of libswd into application source > tree and passed proper source file with driver functions to compile > everything and then link with urjtag binary. This was fine until I > included LibSWD as OpenOCD submodule, because now it requires its own > empty drivers to compile, and those drivers override openocd's > drivers. When I removed template drivers from libswd source tree so it > can be linked with drivers already compiled and provided by openocd, > there are some unresolved dependencies in libswd.la submodule. This is > the only thing that keeps me from running libswd on openocd :-) > Do you have a step by step instruction to reproduce this issue?
Regards, Jie _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development