GitXplorerGitXplorer
c

safe-ftdi

public
6 stars
6 forks
2 issues

Commits

List of commits on branch master.
Verified
2e6ff2b77cee8c0d7c04dcdb0dea678edbd8d56f

Merge pull request #12 from Amanita-muscaria/master

ccr1901 committed 4 years ago
Unverified
120e414a08aae0e0eb91e580955e69b15a9c1efc

Add ability to set eeprom values

committed 4 years ago
Unverified
47bcd5dfb34551bfbd06f2ccce24636c98c8a0d1

Merge branch 'master' of github.com:cr1901/safe-ftdi

ccr1901 committed 4 years ago
Verified
cca7dd38bfdd40a24e00751a3a1e39d0596dea03

Merge pull request #11 from eloc3147/master

ccr1901 committed 4 years ago
Unverified
9cc15da30fec370924fb3dfa0c1eb85980ba9061

Minor version bump before major changes.

ccr1901 committed 4 years ago
Verified
40b70aaa9db3178a989a098b56545f0ad8bcd354

Disable vendored as default

eeloc3147 committed 4 years ago

README

The README file for this repository.

safe-ftdi

Purpose

safe-ftdi is a set of (nominally!) safe API bindings to libftdi, implemented as a thin wrapper around libftdi1-sys. Functions from libftdi are implemented in safe-ftdi on an as-needed basis, and they are mostly named the same as their libftdi counterparts with the ftdi_ prefix stripped.

Documentation on specific functions will come soon, but the example directory contains a reimplementation of mercpcl, my old command-line application to program the flash on the Mercury FPGA development board using the bitbang mode of the FT245.

Prerequisites

libftdi1-sys requires the pkg-config crate everywhere except on Windows/MSVC, where it requires vcpkg, and so transitively safe-ftdi requires one of those as well. I have tested the bindings on the Windows MSVC environment, and the GNU ABI version of rustc.

The library in principle compiles on stable Rust 1.34 or greater, which is what is required by libftdi1-sys.

License

Licensed under either of

at your discretion.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.