libftdi Archives

Subject: Re: Writing EEPROM on FT232R / FT245R

From: Marius Kintel <kintel@xxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 7 Mar 2009 03:54:28 +0100
Hi again,

I'm attaching patches solving some issues:
o CMake build system improved for libftdi and implemented for ftdi_eeprom
o Corrected writing to EEPROM (only tested on FT232R)
o Added ftdi_eeprom_decode() (the inverse of ftdi_eeprom_build())
o Cleaned up some inconsistent use of defines for libusb commands and requests

libftdi:
0001-Added-FindUSB-cmake-macro.patch
0002-Also-install-.pc-files.patch
0003-Added-ftdi_eeprom_decode.patch
0004-Correct-writing-of-EEPROM.patch
0005-Cleaned-up-control-message-defines.patch
0006-Cleanup-of-decode-function.patch

ftdi_eeprom:
0001-Cmake-support.patch
0002-Added-code-to-test-decode-function.patch
0003-uncommented-decoding-and-debug-printing-of-eeprom-co.patch
0004-Adapted-to-new-decode-size-parameter-disable-debug.patch

I'm not experienced in using git, so I hope these patches make sense (produced using git format-patch origin...master).

Cheers,

~/= Marius

--
We are Elektropeople for a better living.



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

Attachment: 0001-Added-FindUSB-cmake-macro.patch
Description: Binary data

Attachment: 0002-Also-install-.pc-files.patch
Description: Binary data

Attachment: 0003-Added-ftdi_eeprom_decode.patch
Description: Binary data

Attachment: 0004-Correct-writing-of-EEPROM.patch
Description: Binary data

Attachment: 0005-Cleaned-up-control-message-defines.patch
Description: Binary data

Attachment: 0006-Cleanup-of-decode-function.patch
Description: Binary data


Attachment: 0001-Cmake-support.patch
Description: Binary data

Attachment: 0002-Added-code-to-test-decode-function.patch
Description: Binary data

Attachment: 0003-uncommented-decoding-and-debug-printing-of-eeprom-co.patch
Description: Binary data

Attachment: 0004-Adapted-to-new-decode-size-parameter-disable-debug.patch
Description: Binary data

Current Thread