Hi!

This thread is meant as a clarification.

Peter and Andreas seem to already put "deprecated, will be deleted" mark 
on ft2232.c code, but is that really the plan? I don't remember any 
discussion about deprecating and deleting that code, so the whole 
situation is confusing (probably not only to me, as there are many 
changes [not only SWD] in gerrit that touch ft2232.c). This argument is 
used against changes in gerrit so this should be cleared, possibly 
stated in the code.

So what's the plan here? Is ft2232.c going to be deleted? Is it going to 
be kept but no further changes for this code will be accepted?

It must be stated that ft2232.c has at least two important advantages 
over ftdi.c:
1. it can use ftd2xx, which for some people IS important, whatever we 
think about that - I actually haven't compared the speed of ftdi.c with 
ft2232.c @ ftd2xx lib, that could be interesting, but I haven't used 
this lib for OpenOCD since the infamous discussion.
2. all interfaces' configs embedded in it are tested (or - at lest - 
majority of them), as opposed to ftdi.c which only has partial coverage 
(I estimate it to be about 1/3)

If we consider ftdi.c "stable" (I do) we could think about a way to 
making it "default", but there's no such concept in OpenOCD... The only 
thing that comes to my mind is moving config files using "old" ft2232.c 
to some subdir ("deprecated"), possibly adding a warning about them 
being deprecated (directly to ft2232.c or to each config), and moving 
configs using "new" ftdi.c one level "up".

I hope this issue will be cleared as I just don't think it's possible to 
deprecate ft2232.c any time soon, but a trend to think of it as a "dead 
end" is spreading...

Thanks in advance!

4\/3!!

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to