As a demo, the code in this template simply turns on the onboard LED and continously prints "Hello, world!" to serial.
- Click the "Use this template" button in the top-right of this page, and select "Create a new repository"
- Fill out the "Create a new repository" page
- Name your project with capital words separated by dashes
- Give your project a short description
- Keep your project Public
- Clone your new project!
- Make sure to clone with SSH
cmake
gcc-arm-embedded
(for macOS)gcc-arm-none-eabi
(for Linux)
These dependencies can be install via Homebrew on macOS or apt on WSL.
- Install the required dependencies
- Run
git submodule update --init
from withinlib/
- Run
git submodule update --init
from withinlib/pico-sdk/
- Create a top-level
build/
directory - Run
cmake ..
from withinbuild/
- Run
make
- Move
fsw.uf2
to a Pico in boot select mode
At this point, the onboard LED should turn on. If you open a serial connection port you uploaded over, you should see "Hello, world!" print every second.