--- On Sun, 2/6/11, Mike Frysinger <vap...@gentoo.org> wrote:
> 
> does your cable driver otherwise just add an entry to
> cable/ft2232.c ?  could 
> just set the baudrate in your cable's init func ...

no, I have a separate .c file for it.
The reason is that FT2232 is a USB to FIFO adapter while
Arduino uses FT232R which is a USB to UART adapter.

The way I understand it ftdi_set_baudrate() needs the current
ftdi_context as parameter:

http://www.intra2net.com/en/developer/libftdi/documentation/group__libftdi.html#gae80f1dc38f5c80946a56ec34a329e7f5

The ftdi_context is part of the ftdi_param_t struct which
should be visible outside of libftdi.c; that's why I proposed
to move it to libftdx.h




------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to