Once you've followed the getting started instructions for C++ you will have everything ready to build the provided examples.
This guide will assume that you have installed the PicoSystem code to
~/picosystem
. You will need to change the paths if you installed into a different location.
To keep things tidy we create a build directory for all of the compiler and linker output to be placed in. You can safely delete this directory in future if you no longer want it.
cd ~/picosystem
mkdir build
cd ~/picosystem/build
cmake ..
make
You will now have the examples built in ~/picosystem/build/examples
. The files that can run on PicoSystem have a .uf2
extension, for example ~/picosystem/build/examples/shapes/shapes.uf2
. These files can be dropped onto your PicoSystem when it is in DFU mode.