Pico SDK
More info
- Owner
- Raspberry Pi Ltd
- Released
- 2021
- Type
- C/C++ SDK
- License
- BSD 3-Clause
- Source
- github.com/raspberrypi/pico-sdk
Raspberry Pi's official C/C++ framework for the RP2040 and RP2350, in which bare metal looks like an ordinary CMake project.
The SDK shipped in January 2021 alongside the Raspberry Pi Pico. It is split into small libraries — hardware_gpio, hardware_dma, hardware_pio — that sit thinly on top of the registers, plus a pico_stdlib that gives you printf over USB or UART. Programs for the PIO state machines are written in their own assembly language, which the pioasm tool turns into C headers at build time.
The build produces a UF2 file that you drag onto the board after booting it as a USB drive, which is about as close to plug and play as microcontrollers get. There is no RTOS built in — it is bare metal with good tooling — though FreeRTOS has a port, and version 2.0 (2024) added RP2350 support.