Build Your Own AI Assistant Part 1 - Creating the Assistant
116820 Views
Is the new Raspberry Pi AI Kit better than Google Coral?
114678 Views
Control Arduino with Python using Firmata / PyFirmata
87081 Views
How to Map with LiDAR - using a Raspberry Pi Zero 2W, RPLidar and Rviz
57314 Views
Creating a Supercomputer with a Raspberry Pi 5 Cluster and Docker Swarm!
53588 Views
Node-Red Automation, MQTT, NodeMCU & MicroPython
52067 Views
LEGO Gets Lights & Sound with Tiny FX
Thinkman
Podman vs Docker
MicroPython Robotics
Bottango and Isaaca
LidarBot
Getting Started with C on the Raspberry Pi Pico
0h 20m
Running K3s on Raspberry Pi
0h 36m
From Docker to Podman
0h 28m
MicroPython Robotics Projects with the Raspberry Pi Pico
0h 24m
Bottango Basics
0h 22m
Mini-Rack 3D Design Tutorial
Learn how to Program in Python, C, Rust, and more.
Learn Linux from the basics to advanced topics.
Learn how to use a Raspberry Pi Pico
Learn MicroPython the best language for MicroControllers
Learn Docker, the leading containerization platform. Docker is used to build, ship, and run applications in a consistent and reliable manner, making it a popular choice for DevOps and cloud-native development.
Learn how to build SMARS robots, starting with the 3D Printing the model, Designing SMARS and Programming SMARS
Learn how to build robots, starting with the basics, then move on to learning Python and MicroPython for microcontrollers, finally learn how to make things with Fusion 360.
Learn Python, the most popular programming language in the world. Python is used in many different areas, including Web Development, Data Science, Machine Learning, Robotics and more.
Learn how to create robots in 3D, using Fusion 360 and FreeCAD. The models can be printed out using a 3d printer and then assembled into a physical robot.
Learn how to create Databases in Python, with SQLite3 and Redis.
KevsRobots Learning Platform
60% Percent Complete
By Kevin McAleer, 2 Minutes
Page last updated June 15, 2025
To program your Raspberry Pi Pico in C, you’ll need a toolchain — the set of software tools that compile your code and upload it to the board.
This lesson walks you through installing the official Pico SDK and CMake-based toolchain.
sudo apt update sudo apt install cmake gcc-arm-none-eabi build-essential libnewlib-arm-none-eabi git
Install Homebrew, then:
brew tap ArmMbed/homebrew-formulae brew install cmake gcc-arm-embedded
Use WSL with Ubuntu for best results. Inside WSL, use the Linux steps above.
mkdir -p ~/pico cd ~/pico git clone -b master https://github.com/raspberrypi/pico-sdk.git cd pico-sdk git submodule update --init
Now clone the example projects:
cd ~/pico git clone -b master https://github.com/raspberrypi/pico-examples.git
Add the SDK path to your shell config:
echo "export PICO_SDK_PATH=~/pico/pico-sdk" >> ~/.bashrc source ~/.bashrc
cd ~/pico/pico-examples/blink mkdir build cd build cmake .. make
You should now have a file called blink.uf2 — this is the binary you’ll upload to the Pico.
blink.uf2
Your Pico will reboot and start blinking the onboard LED!
You now have:
.uf2
Next up: Your First Program in C, where you’ll write a custom C program from scratch and upload it to the Pico.
< Previous Next >
You can use the arrows ← → on your keyboard to navigate between lessons.
← →