Hi,

Vivien Giraud wrote:
> I'm trying to make a patch that detect the pid of a plugged FTDI chip

Why? I mean, what will be the benefit?


> but I have some trouble with compilation.
> It's say "undefined reference to sessPid", sessPid is my found PID
> I'm searching it on openocd.c and I want to put it on ft2232.c.
> I think it's a problem with my makefile because I add openocd.h
> into but nothing happen.
> Someone can help me ?

Without seeing what code you have changed (run git diff) it is very
difficult to help you. But anyway, Makefile is not the answer, since
it does not have an effect on variable visibility. I guess you are
new to C programming, which is fine, but in that case it is
especially good to send your patch to the mailing list so that it can
get reviewed by others and so that you could get some suggestions for
improvement.


> And I want to understand this define : #define FT2232_BUFFER_SIZE 131072
> I don't understand why the buffer size is set to 131072, with that size 
> on my FT4232H I got reset connection by GDB. (With 8192 it's works well).

Interesting. Sorry, but I can't help much with this one.


//Peter

------------------------------------------------------------------------------
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

Reply via email to