How j4spr/rustberrypi works
RustBerrry Pi is a bare-metal Raspberry Pi program that configures GPIO pin 21 as an output, then repeatedly sets and clears it with busy-wait delays to blink an LED. The runtime implementation is concentrated in src/main.rs; the register interactions shown are explicit there. The repository does not document additional runtime subsystems.
Main entry points: main.rs Entry loop
Components 7
Other components
- Pi boot
- Entry loop
src/main.rs - Configure pin
src/main.rs - Set pin
src/main.rs - Clear pin
src/main.rs - Busy wait
src/main.rs - GPIO registers / LED
Connections 8
- Pi boot → Entry loop: enters
- Entry loop → Configure pin: calls
- Entry loop → Set pin: calls
- Entry loop → Busy wait: calls
- Entry loop → Clear pin: calls
- Configure pin → GPIO registers / LED: reads/writes
- Set pin → GPIO registers / LED: reads/writes
- Clear pin → GPIO registers / LED: reads/writes