Simple Unix- and DOS-Like Shells for the Pi Pico

Give Your Pico a Shell

© Lead Image © lightwise, 123RF.com

© Lead Image © lightwise, 123RF.com

Article from Issue 311/2026
Author(s): , Author(s):

Running a shell on your Raspberry Pi Pico lets you use it like a classic Unix or MS-DOS workstation. All you need are basic filesystem commands – no C/C++ or Python skills required.

MicroPython and CircuitPython are popular firmware that you can use to program the cheap, elegant Raspberry Pi Pico boards, but you have to know some Python to use them. The default alternative is to create C or C++ programs in an SDK, which is even more complex. If you're new to programming, these methods are a barrier. Instead, you can set up your Pico to boot into a simple shell, just like a basic Linux or MS-DOS machine, and start playing around with the Pico's features. In this article, we introduce you to shell projects for the Pi Pico.

We're going to explore various FOSS solutions for launching and playing around with simple shells that run on Pico boards using Docker containers to make the initial setup easier.

Getting Started

We'll use various FOSS firmware and/or shell layers to flash the Pico boards. To make the tasks easier, let's first prepare a few tools that help with serial terminal access and file transfer. If you don't already have a working container solution, either install Docker (Ubuntu package docker.io) or Podman (podman-docker). In the case of Docker, add yourself to the docker group. On an Ubuntu machine you can run

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Download Article PDF now with Express Checkout
Price $2.95
(incl. VAT)

Buy Linux Magazine

Related content

  • Smart Home Info Center

    You don't need much to create a smart home information center – just a Raspberry Pi Pico, an ePaper panel, a battery, and some Python.

  • Pi Pico 2W Web Radio

    A Raspberry Pi Pico 2W has enough power to let you create a very usable web radio when you add a DAC chip and an amplifier.

  • Light Painting

    In the photographic method of light painting, you expose a subject over an extended period of time while moving the light sources. With a little technical support from a Raspberry Pi Pico, you can achieve sophisticated results.

  • Pico Sleep Mode

    The Raspberry Pi Pico's high-performance chip is trimmed for I/O and does not try to save power. However, a few tricks in battery mode can keep it running longer.

  • Greenhouse Control

    You can safely assign some greenhouse tasks to a Raspberry Pi Pico W, such as controlling ventilation, automating a heater, and opening and closing windows.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News