Hi

On Mon, Mar 2, 2009 at 9:18 AM, Holger Schurig
<hs4...@mail.mn-solutions.de> wrote:
> On Sunday 01 March 2009 23:58:35 Rick Altherr wrote:
>> Ugh.  Can we fix this once and for all?  Win32 adds the A,
>> Linux and OS X do not.
For this specific problem perhaps we should simply rely on the
product/vendor name like
we do for the ftd2xx?


>
> If this is general, why let TCL handle this?
>
> src/jtag/ft2232.c could contain code near
>
>        if (ft2232_device_desc)
>        {
>                openex_string = ft2232_device_desc;
>                openex_flags  = FT_OPEN_BY_DESCRIPTION;
>        }
>
>
> that does something like:
>
>
> #ifndef __WINDOWS__
>        openex_string = ft2232_device_desc;
> #else
>        static char win_desc[80];
>        snprintf(win_desc, sizeof(win_desc), "%s A",
>           ft2232_device_desc);
>        openex_string = win_desc;
> #endif
>        openex_flags  = FT_OPEN_BY_DESCRIPTION;
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
>
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to