Andrii Shylenko’s LabWired is an MIT-licensed MCU firmware simulation core that runs compiled firmware against modeled CPUs and peripherals, captures UART and bus output, register state, and supports repeatable checks in CI.
The simulator works on Arm Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M7, Cortex-M33 cores, RISC-V architecutre, and Xtensa LX6 and LX7 (some ESP32 parts). The main benefit of the project is speeding up firmware testing since doing some on real boards is slow. The hardware must be ready, then the firmware must be flashed to the board each time you want to test it, and if something breaks, developers get a dark LED and no trace. If a firmware project needs to support multiple boards, this quickly adds up.
The project is different from a CPU/MCU emulator for two main reasons:
- The full board is modeled, not only the chip. Sensors, displays, and bus devices are also simulated. So you can check I2C traffic, SPI framing, or what a panel was told to draw.
- The Fidelity Ledger explains where the model falls short, and the simulator short-circuits real hardware, so you know exactly where LabWired “cheats” for any of the supported platforms: STM32L476, RP2040, nRF52840, ESP32, etc…
LabWired is primarily a CLI application, and Andrii shared an example where PlatformIO builds a Unity test firmware for a virtual nRF52840, then LabWired runs it without a board or J-Link. He ran the following command on a Linux computer:
|
1 |
pio test --without-uploading -e nrf52840_dkon |
All three tests passed in 1.18 seconds, much faster than doing so on real hardware. The example and fix are documented in a GitHub issue.
If it’s a terminal application, why is there a screenshot of a web application at the top of the article? That’s because there’s a “Browser Playground” where you can play with a simulated NUCLEO-L476RG board connected to an ultrasonic sensor, a Nokia display, and a logic analyzer.
The Rust source code for the Labwired Core can be found on GitHub. You can call it from a terminal, your CI, or your AI coding agent. The example directory contains over 200 board configurations that can be used for testing. You can also check the validation matrix for a list of supported boards and peripherals. Claude Code was used for the project, but it appears it’s mostly for the Model Context Protocol (MCP) integration.
Part of the code is open-source, and part of it is not, as described on GitHub:
This repository owns the core simulator and its validation assets: CPU, bus, memory, peripheral, and external device execution; chip and system descriptors; CLI, test runner, debug adapters, and snapshot/trace tooling; and hardware-target validation metadata. Application UI, hosted Playground behavior, and product surfaces live outside this package.
There’s also a pricing page on the website. You can integrate everything yourself, or purchase plans with “LabWired AI Tokens” if you need to use their infrastructure for testing.

Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.







