- First install dependencies
sudo apt install cmake g++ gcc-arm-none-eabi doxygen libnewlib-arm-none-eabi git python3
- Clone the C-SDK
git clone --recurse-submodules https://github.com/raspberrypi/pico-sdk.git $HOME/pico-sdk
- Configure environment
echo "export PICO_SDK_PATH=$HOME/pico-sdk" >> ~/.bashrc
source ~/.bashrc
- You need to create a new
build
directory in the root folder to build the.uf2
file
mkdir build
cd build
cmake ..
make
- Copy the .uf2 file from the
build
directory
# Ubuntu
cp {project_name}.uf2 /media/$USER/RPI-RP2/