pimoroni-pico/examples/pico_audio
Phil Howard b78f42b7d9 Add README for Pico Audio extras setup 2021-03-31 17:18:48 +01:00
..
CMakeLists.txt
README.md Add README for Pico Audio extras setup 2021-03-31 17:18:48 +01:00
audio.hpp
demo.cpp
synth.cpp
synth.hpp

README.md

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:

{
    "cmake.configureSettings": {"PICO_SDK_POST_LIST_DIRS": "/path/to/pico-extras"}
}