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.

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

Reply via email to