Minimal Raspberry Pi Pico C SDK

A 5MB feature-complete Raspberry Pi Pico SDK

Pure Nim score 15/100 · last commit 2022-04-26 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2022-04-26
Downloads 0
Last Indexed 2026-07-31 04:42

Installation

nimble install Minimal Raspberry Pi Pico C SDK
choosenim install Minimal Raspberry Pi Pico C SDK
git clone https://gitlab.com/Milkdrop/minimal-pico-sdk

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Minimal Raspberry Pi Pico C SDK - - - - - - -

README

What is this?

This is an example "Hello World" project that uses a minimal SDK that should be fully compatible with the original Raspberry Pi Pico SDK.

What are some benefits of this minimal SDK?

  • Has the full set of features from the original Raspberry Pi Pico SDK
  • Size reduced from 2.3 GB to 4.8 MB
  • Number of lines of code reduced from 5,003,082 to 8,572 (excluding comments)
  • Number of CMake files reduced from 157 to 1
  • Very easy to tinker with: It's small, it's complete (it also compiles the second-stage bootloader) and you can easily modify any part of it to your liking, or you can simply read through it to see how the Raspberry Pi Pico works

How do I use it?

  • The entire sdk is in the "pico" folder
  • You can copy that folder into any project and import things from there (like pico/stdio.h, pico/multicore.h, etc...)
  • It's fully self contained and it doesn't need any extra configuration! It's plug and play and ready to use anywhere.

Gotchas

  • As of now the SDK is bundled in its entirety into your application, which can result in quite large binaries. Someone smarter could probably make a CMake config file which selectively picks which parts of the SDK are actually being used.