Get the latest tech news

BreadboardOS firmware for the Raspberry Pi RP2040 features a Linux-like terminal


Cavin McKinley's BreadboardOS is an open-source firmware platform for the Raspberry Pi RP2040 MCU (for now) built around FreeRTOS and with a feature-packed CLI that reminds me of the Linux terminal. The terminal implementation is based on a fork of the microshell project with some additional customization. It is organized into POSIX-style folders/files providing a familiar user interface for interacting with the hardware on the MCU. BreadboardOS running on Raspberry Pi Pico board BreadboardOS highlights: FreeRTOS-based Tools for checking system resources such as ps, top, free, and df commands Interaction with chip I/O and serial buses from the terminal using commands such as cat and echo, for example, you can print the list of GPIOs with:

Cavin McKinley’s BreadboardOS is an open-source firmware platform for the Raspberry Pi RP2040 MCU (for now) built around FreeRTOS and with a feature-packed CLI that reminds me of the Linux terminal. Examples of commands to list devices and control GPIO pins (from the video below)The “rootfs” features similar directories (mnt, etc, bin, proc, dev, and lib) as in a minimal Linux distribution. Right now BreaboardOS, or BBOS for shorts, is implemented on the Raspberry Pi RP2040 only, however, Cavin explains the platform was built with porting in mind and the project has been structured such that all hardware-specific code resides in a single directory (hardware_pico) with a header file (hardware_config.h) providing HAL functionality.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of Raspberry Pi RP2040

Raspberry Pi RP2040

Photo of like terminal

like terminal

Related news:

News photo

Linux 6.10's Hardening Configuration Now Enables KCFI & Other Features

News photo

Linux 6.10 Shows People Are Still Using USB To Parallel Port Adapters In 2024

News photo

FUSE Adds VirtIO-FS Multi-Queue For ~5x Performance Win With Linux 6.10