Skip to content

Releases: ftdi-rs/libftd2xx

Version 0.28.0

04 Apr 01:25
Compare
Choose a tag to compare

Added

  • Added support for the FT2232H.

Version 0.27.0

27 Mar 15:33
Compare
Choose a tag to compare

Added

  • Added the static feature flag to enable switching between static and dynamic linking of the vendor library.

Changed

  • Changed the default linking strategy on Linux targets to dynamic. Note: To retain previous functionality with dynamic linking on Windows and static linking on Linux use cargo's resolver version 2.

Version 0.26.0

20 Mar 20:48
Compare
Choose a tag to compare

Added

  • Added Debug for all FTDI device structures.

Changed

  • Changed the with_description argument name from serial_number to description.
  • Changed Ft232h and Ft4232h TryFrom traits from a borrow to a move.

Version 0.25.1

13 Mar 20:39
Compare
Choose a tag to compare

Fixed

  • Fixed list_devices_fs returning an Err when FTDI devices with invalid EEPROMs are plugged in.

Version 0.25.0

28 Feb 16:56
Compare
Choose a tag to compare

Changed

  • Updated libftd2xx-ffi dependency from 0.5.1 to 0.6.0. This updates the vendor library from 1.4.8 to 1.4.22 for Linux targets.

Version 0.24.1

30 Jan 17:34
610b9fa
Compare
Choose a tag to compare

Changed

  • Streamlined udev rules recommendations.
  • Improved documentation annotations for platform-specific features.

Fixed

  • Fixed compilation errors for aarch64-unknown-linux targets.

Version 0.24.0

28 Dec 22:14
Compare
Choose a tag to compare

Changed

  • BREAKING CHANGE read and write methods now return Result<usize, FtStatus> where usize is the the number of bytes read or written. Previous read and write functionality that returned Result<(), TimeoutError> is replaced by read_all and write_all.

0.23.0

23 Oct 18:50
Compare
Choose a tag to compare

Changed

  • synchronize_mpsse will now timeout if no read data is received and a read timeout has been set.

0.22.0

16 Oct 04:29
Compare
Choose a tag to compare

Added

  • Added list_devices_fs to work around vendor driver bug.
  • Added DeviceType::with_pid.

Changed

  • Speed, DeviceType, and DeviceInfo derive Ord and PartialOrd.
  • The return vector from list_devices is now sorted.