Skip to content

Commit 1b0311c

Browse files
committed
Improve docs Fixes #5
1 parent 7a8115c commit 1b0311c

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ numerous Pico drivers.
2626
- ### `pico-streaming` [![Crates.io](https://img.shields.io/crates/v/pico-streaming)](https://crates.io/crates/pico-streaming)
2727
Implements continuous gap-less streaming on top of `PicoDevice`.
2828

29+
## Prerequisites
30+
`pico-driver` uses a C library called `libffi` to call into older Pico
31+
drivers that don't allow us to pass context through callbacks. To build this
32+
you will need a working C compiler and on Unix based platforms you'll also
33+
[require `automake`, and
34+
`autoconf`](https://github.com/meatysolutions/pico-sdk/issues/5).
35+
36+
On linux `pico-enumeration` [requires `libudev-dev`](https://github.com/meatysolutions/pico-sdk/blob/700ab24efe81063316baffff638988cf626c6ffe/.github/workflows/build-and-publish.yml#L32).
37+
2938
## Tests
3039
Some tests open and stream from devices and these fail if devices are not available, for example when run in CI.
3140
To run these tests, ensure that ignored tests are run too:

sdk/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ numerous Pico drivers.
2626
- ### `pico-streaming` [![Crates.io](https://img.shields.io/crates/v/pico-streaming)](https://crates.io/crates/pico-streaming)
2727
Implements continuous gap-less streaming on top of `PicoDevice`.
2828

29+
## Prerequisites
30+
`pico-driver` uses a C library called `libffi` to call into older Pico
31+
drivers that don't allow us to pass context through callbacks. To build this
32+
you will need a working C compiler and on Unix based platforms you'll also
33+
[require `automake`, and
34+
`autoconf`](https://github.com/meatysolutions/pico-sdk/issues/5).
35+
36+
On linux `pico-enumeration` [requires `libudev-dev`](https://github.com/meatysolutions/pico-sdk/blob/700ab24efe81063316baffff638988cf626c6ffe/.github/workflows/build-and-publish.yml#L32).
37+
2938
## Tests
3039
Some tests open and stream from devices and these fail if devices are not available, for example when run in CI.
3140
To run these tests, ensure that ignored tests are run too:

sdk/src/lib.rs

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
//! - ### `pico-streaming` [![Crates.io](https://img.shields.io/crates/v/pico-streaming)](https://crates.io/crates/pico-streaming)
2727
//! Implements continuous gap-less streaming on top of `PicoDevice`.
2828
//!
29+
//! # Prerequisites
30+
//! `pico-driver` uses a C library called `libffi` to call into older Pico
31+
//! drivers that don't allow us to pass context through callbacks. To build this
32+
//! you will need a working C compiler and on Unix based platforms you'll also
33+
//! [require `automake`, and
34+
//! `autoconf`](https://github.com/meatysolutions/pico-sdk/issues/5).
35+
//!
36+
//! On linux `pico-enumeration` [requires `libudev-dev`](https://github.com/meatysolutions/pico-sdk/blob/700ab24efe81063316baffff638988cf626c6ffe/.github/workflows/build-and-publish.yml#L32).
37+
//!
2938
//! # Tests
3039
//! Some tests open and stream from devices and these fail if devices are not available, for example when run in CI.
3140
//! To run these tests, ensure that ignored tests are run too:

0 commit comments

Comments
 (0)