From b78f42b7d91f66c8cd3ea37738e865951157be56 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 31 Mar 2021 15:59:47 +0100 Subject: [PATCH] Add README for Pico Audio extras setup --- examples/pico_audio/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/pico_audio/README.md diff --git a/examples/pico_audio/README.md b/examples/pico_audio/README.md new file mode 100644 index 00000000..7d32d3cf --- /dev/null +++ b/examples/pico_audio/README.md @@ -0,0 +1,24 @@ +# Pico Audio Pack Demo + +This demo requires the `pico-extras` repository to compile - https://github.com/raspberrypi/pico-extras. + +You should clone it alongside `pico-sdk` and `pimoroni-pico`: + +``` +git clone https://github.com/raspberrypi/pico-extras +``` + +And adjust your `cmake` configure command to include the path: + +``` +cmake .. -DPICO_SDK_POST_LIST_DIRS=/path/to/pico-extras +``` + +If you're using Visual Studio Code you can add this to `settings.json`: + +```json +{ + "cmake.configureSettings": {"PICO_SDK_POST_LIST_DIRS": "/path/to/pico-extras"} +} +``` +