How lifewithdavid/raspberrypipico-baremetaladventures works
This repository is a set of Raspberry Pi Pico bare-metal programming examples, not one integrated product. The later chapters develop a keyboard/display front panel and, in the Chapter 19 example, describe a two-core emulator workflow: keyboard input and terminal communication feed control or data to the emulator, while an SSD1306 OLED presents output. Earlier demos and checksum utilities are separate experiments; their behavior is not detailed here. The excerpts show keyboard scanning, FIFO use, and OLED routines, but omit much of the firmware, so only documented or directly visible relationships are drawn.
Main entry points: Chapter 19/kbDisplayIntegrated.c Chapter 19 firmware · Chapter 15/kbDisplayIntegrated.c Chapter 15 firmware · ssd1306_font.h Chapter 18 font · Demo 5/kbDisplayIntegrated.c Chapter 16 Demo 5
Components 24
Front-panel firmware
- Chapter 15 firmware
Chapter 15/kbDisplayIntegrated.c - Chapter 16 Demo 5
Chapter 16/Demo 5/kbDisplayIntegrated.c - Chapter 17 Demo 1
Chapter 17/Demo 1/kbDisplayIntegrated.c - Chapter 17 Demo 2
Chapter 17/Demo 2/kbDisplayIntegrated.c - Chapter 17 Demo 3
Chapter 17/Demo 3/kbDisplayIntegrated.c - Chapter 17 Demo 4
Chapter 17/Demo 4/kbDisplayIntegrated.c - Chapter 17 Demo 5
Chapter 17/Demo 5/kbDisplayIntegrated.c - Chapter 18 firmware
Chapter 18/kbDisplayIntegrated.c
OLED display assets
- Chapter 16 font
Chapter 16/Demo 5/ssd1306_font.h - Demo 1 font
Chapter 17/Demo 1/ssd1306_font.h - Demo 2 font
Chapter 17/Demo 2/ssd1306_font.h - Demo 3 font
Chapter 17/Demo 3/ssd1306_font.h - Demo 4 font
Chapter 17/Demo 4/ssd1306_font.h - Demo 5 font
Chapter 17/Demo 5/ssd1306_font.h - Chapter 18 font
Chapter 18/ssd1306_font.h - Chapter 19 font
Chapter 19/ssd1306_font.h
Emulator interface
- Chapter 19 firmware
Chapter 19/kbDisplayIntegrated.c
Earlier experiments
- Padding checksum
Chapter 04/pad_checksum.py - Padding checksum
Chapter 06/pad_checksum.py - Octal converter
Chapter 19/octal_conv.py
Other components
- Hardware user
- USB terminal
- SSD1306 OLED
- Matrix keyboard
Connections 14
- Hardware user → Chapter 19 firmware: operates
- Matrix keyboard → Chapter 19 firmware: key input
- Chapter 19 firmware → USB terminal: USB communication
Chapter 19/kbDisplayIntegrated.c - Chapter 19 firmware → SSD1306 OLED: drives display
Chapter 19/kbDisplayIntegrated.c - Chapter 19 firmware → Chapter 19 font: uses font
Chapter 19/kbDisplayIntegrated.c - Chapter 15 firmware → SSD1306 OLED: OLED routines
Chapter 15/kbDisplayIntegrated.c - Chapter 15 firmware → Chapter 18 font: names font
Chapter 15/kbDisplayIntegrated.c - Chapter 16 Demo 5 → Chapter 16 font: uses font
Chapter 16/Demo 5/kbDisplayIntegrated.c - Chapter 17 Demo 1 → Demo 1 font: uses font
Chapter 17/Demo 1/kbDisplayIntegrated.c - Chapter 17 Demo 2 → Demo 2 font: uses font
Chapter 17/Demo 2/kbDisplayIntegrated.c - Chapter 17 Demo 3 → Demo 3 font: uses font
Chapter 17/Demo 3/kbDisplayIntegrated.c - Chapter 17 Demo 4 → Demo 4 font: uses font
Chapter 17/Demo 4/kbDisplayIntegrated.c - Chapter 17 Demo 5 → Demo 5 font: uses font
Chapter 17/Demo 5/kbDisplayIntegrated.c - Chapter 18 firmware → Chapter 18 font: uses font
Chapter 18/kbDisplayIntegrated.c