Skip to content
/ pi-pico-template Public template

A template project for the Raspberry Pi Pico.

Notifications You must be signed in to change notification settings

gabi-d/pi-pico-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Pico C-SDK Template

Install Pico C-SDK

  • 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

Build

  • 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/

About

A template project for the Raspberry Pi Pico.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published