Raspberry pi
Configuration
Initial setup for Raspberry Pi Pico
Install Dependencies
Update your package lists and install the required tools:
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
Clone the Raspberry Pi Pico SDK
Clone the official repository and initialize the submodules:
git clone https://github.com/raspberrypi/pico-sdk.git ~/
cd ~/pico-sdk
git submodule update --init
Set Up Environment Variable
Define the SDK path to compile your projects.
You can run this command directly or add it to your .bashrc
or equivalent shell configuration file:
export PICO_SDK_PATH=/path/to/pico-sdk