libftdi Archives

Subject: [PATCH] EEPROM CBUS function fixes and ftdi_eeprom support

From: Robin Haberkorn <haberkorn@xxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 14 Jan 2015 00:32:57 +0100
Hi again,

you find attached a patch that applies to libftdi's master branch.
It fixes and cleans up the CBUS function constants and adds FT232H as well as FT230X CBUS function config support to the ftdi_eeprom tool.

This will actually allow you to program the CBUS functions on a FT230X in a way that matches what "FT Prog" does. The "eeprom.c" example will also now display the correct values on this chip.
See the patch file's comment for more details.

One thing I'm not sure about: I removed the CBUS_BB constant as FTDI's ftd2xx.h has nothing like it. But I haven't read the type R's data sheets. If there is indeed any use for this constant, just tell me and I will revise this patch.

Best regards,
Robin Haberkorn

btw.: Is this mailing list the preferred way of sending patches? Is there any official Github mirror I can send pull requests to?

--
Robin Haberkorn
Developer

metraTec GmbH
Werner-Heisenberg-Str. 1
39106 Magdeburg
Germany

haberkorn@xxxxxxxxxxxx
www.metratec.com


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: cbus_fixes.patch
Description: Text Data

Current Thread
  • [PATCH] EEPROM CBUS function fixes and ftdi_eeprom support, Robin Haberkorn <=