#streaming #oscilloscope #pico-scope #pico-technology #file-hash

pico-download

Unofficial Rust bindings and wrappers for Pico Technology oscilloscope drivers

7 releases

0.3.1 May 12, 2021
0.3.0 Apr 14, 2021
0.2.1 Mar 26, 2021
0.1.4 Nov 18, 2020

#1711 in Hardware support

24 downloads per month
Used in pico-sdk

MIT license

200KB
4.5K SLoC

pico-download

Downloads Pico Technology oscilloscope drivers.

This is a sub crate that you probably don't want to use directly. Try the top level pico-sdk crate which exposes everything from here.

This helper crate allows the distribution of software that can communicate with every Pico oscilloscope without the need to ship every driver binary.

Supported platforms:

  • Windows (32 or 64 bit)
  • macOS (64 bit)
  • Linux (64 bit or ARM for Raspberry Pi)

All binaries are stored in Amazon AWS S3 storage and can be browsed here.

Some of these binaries have been modified using install_name_tool or rpath after download from the Pico website which allows them to be loaded dynamically from non-standard paths. Pico singing certificates remain.

File hashes are validated after download to ensure the hosted files have not been tampered with. These hashes are generated using the generate-hashes example.

download_drivers_to_cache() downloads the passed drivers and their dependencies and cache_resolution() returns a Resolution that can be used to resolve the downloaded binaries.

let enumerator = DeviceEnumerator::with_resolution(cache_resolution());

License: MIT

Dependencies

~8–20MB
~376K SLoC