diff --git a/CHANGELOG.md b/CHANGELOG.md index b93e4372..46d7b000 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] - [#384] Satisfy clippy +- [#381] Add feature `ftdi` to enable `ftdi` debuggers - [#380] Add `--erase-all` flag - [#379] Update to `probe-rs v0.17` - [#378] Update to `probe-rs v0.16` [#384]: https://github.com/knurling-rs/probe-run/pull/384 +[#381]: https://github.com/knurling-rs/probe-run/pull/381 [#380]: https://github.com/knurling-rs/probe-run/pull/380 [#379]: https://github.com/knurling-rs/probe-run/pull/379 [#378]: https://github.com/knurling-rs/probe-run/pull/378 diff --git a/Cargo.lock b/Cargo.lock index eb296953..1d0fc71e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -513,6 +513,18 @@ version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" +[[package]] +name = "libftdi1-sys" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff6928872c7d13bec3c8a60c4c92f41f6252f3369b7552a5b4f9c90c8ba2338" +dependencies = [ + "cfg-if", + "libc", + "pkg-config", + "vcpkg", +] + [[package]] name = "libusb1-sys" version = "0.6.4" @@ -716,6 +728,7 @@ dependencies = [ "jaylink", "jep106", "kmp", + "libftdi1-sys", "num-traits", "object", "once_cell", diff --git a/Cargo.toml b/Cargo.toml index 2e08a6d0..226ba757 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,3 +37,6 @@ pretty_assertions = "1" rstest = { version = "0.16", default-features = false } nix = "0.26" serial_test = { version = "1", default-features = false } + +[features] +ftdi = ["probe-rs/ftdi"]