Simulator
An STM32 Blue Pill simulator (STM32F103C8)
LabWired simulates the STM32F103C8, the chip on the Blue Pill board. The board is listed as "STM32 Dev Board" in the Playground.
The lab below blinks an LED from Rust. The Firmware selector also has an Arduino build of the same blink.
Live lab, running in your browser. Open the full lab →
What is simulated
- Clock, GPIO, UART, timers, DMA, I²C, SPI, ADC, watchdog and RTC. A booting firmware drives each one in CI.
- bxCAN end to end: a nightly J1939 monitor reassembles BAM transport messages and decodes engine speed from a replayed capture.
- AFIO remap and DBGMCU (PR-gated Zephyr hello) and PWR (Arduino startup).
- bxCAN register reset values are pinned against a real STM32F103 over SWD.
What is left out
We list the gaps so you know when to reach for a bench.
- USB device: an author-declared stub. Reads return 0 and writes are dropped, so the USB-FS device engine is not modelled.
- BKP (backup registers): a stub with no schema.
- WWDG: an inert register bank. An armed window watchdog never fires.
- CRC has unit tests only.
Sources
Checked on 22 October 2026 against:
Related
Other simulators