Skip to content

Preparation

  • Pico_DM_1P5623 Display Expansion Board
  • Raspberry Pi Pico Core Board (optional)
  • USB Type-C Data Cable
  • USB to Serial Module

This project uses Ubuntu as the default development system.

  1. Install dependencies

    Terminal window
    sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
  2. Download pico-sdk source code

    Choose a download source based on your network conditions. Gitee is a mirror of GitHub, and downloading from Gitee is recommended.

    Gitee

    Terminal window
    git clone https://gitee.com/embeddedboys/pico-sdk $HOME/pico-sdk

    GitHub

    Terminal window
    git clone https://github.com/raspberrypi/pico-sdk/ $HOME/pico-sdk
  3. Clone pico-sdk submodules

    Terminal window
    cd ~/pico-sdk
    git submodule update --init
  4. Configure environment variables

    For bash

    Terminal window
    echo "export PICO_SDK_PATH=$HOME/pico-sdk" >> ~/.bashrc
    source ~/.bashrc

    For zsh

    Terminal window
    echo "export PICO_SDK_PATH=$HOME/pico-sdk" >> ~/.zshrc
    source ~/.zshrc