Raspberry Pi Pico - CLion Development pipeline

This page describes the setting up a development environment in the Jetbrians CLion IDE to target Raspberry PICO C/C++ SDK.

Clone Pico SDK

git clone -b master https://github.com/raspberrypi/pico-sdk.git

export PICO_SDK_PATH=/path/to/pico-sdk

cd pico-sdk
git submodule update --init

Install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
https://brew.sh

Install cmake

brew install cmake

Install the arm eabi toolchain

brew tap ArmMbed/homebrew-formulae
brew install arm-none-eabi-gcc
brew install gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib

Xcode

xcode-select --install

Template Project

SDK Documentation https://raspberrypi.github.io/pico-sdk-doxygen/

Github https://github.com/raspberrypi/pico-sdk