Recorded from [`docs/assets/demo.tape`](docs/assets/demo.tape) against a real binary. The second half breaks an assertion on purpose so you can see the CI gate fail.
Clone the repository, install the CLI, and run a committed bare-metal ELF — no cross-toolchain needed:
```sh
git clone https://github.com/w1ne/labwired-core && cd labwired-core
curl -fsSL https://labwired.com/install.sh | LABWIRED_VERSION=v0.26.0 sh
labwired test --script examples/nrf54l15-dk/io-smoke.yaml
```
```
nRF54L15 boot OK
core=cortex-m33 rram=1524K ram=256K
uarte20@0x500C6000 gpio2@0x50050400
regs from MDK/SVD, not nRF52
PASS 4/4 checks · io-smoke · 200000 steps · 0.04s
```
That is a committed bare-metal ELF booting on an nRF54L15-DK profile in under a second.
Nothing is compiled on your machine.
The four checks are the three UART lines plus the stop reason.
The firmware prints those lines from string literals. The text proves nothing by itself.
What it proves is that the bytes arrived. To send them, the firmware had to boot from RRAM
at `0x0`, set up RAM at `0x20000000`, and drive UARTE20 over EasyDMA. Get the UARTE base
wrong in the chip model and you get no output at all.
GPIO is checked at the pin, not in the banner, by
`firmware_survival::test_nrf54l15_lights_dk_led0`. The
[example README](examples/nrf54l15-dk/README.md) says why both tests are needed.
The verdict goes to stderr. The exit code is the gate: `0` passes, anything else fails.
UART output and `--json` stay on stdout, so pipes keep working.
## GitHub Action (`uses: w1ne/labwired-core@v1`)
Run LabWired hardware & firmware verification on every pull request in public repositories at zero cost — no API keys or secrets required:
```yaml
name: LabWired Verify
on: [pull_request, push]
permissions:
contents: read
pull-requests: write
id-token: write
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: w1ne/labwired-core@v1
```
Auto-detects unmodified Wokwi `diagram.json` projects, KiCad `.kicad_pcb`/`.kicad_sch` boards, and LabWired test scripts (`tests/labwired.yml`), runs ERC + PCB DRC + deterministic firmware assertions, and posts a PR check summary (`ERC 0/0 · DRC 0/0 · X/X firmware assertions passed`) with a shareable replay link and `Verified by LabWired` badge. See [`action/README.md`](action/README.md) and the drop-in samples in [`examples/ci-wokwi-dropin`](examples/ci-wokwi-dropin) and [`examples/ci-kicad-dropin`](examples/ci-kicad-dropin).
## Installation
The install script covers Linux, macOS, and Windows via WSL2.
```sh
curl -fsSL https://labwired.com/install.sh | LABWIRED_VERSION=v0.26.0 sh
```
| Variable | Effect |
| --- | --- |
| `LABWIRED_VERSION=` | pin a release |
| `LABWIRED_INSTALL_DIR=` | choose the install directory |
| `LABWIRED_FROM_SOURCE=1` | build from source instead of downloading |
To read the installer before running it:
```sh
curl -fsSL https://labwired.com/install.sh -o install.sh # review it, then:
sh install.sh
```
### Windows
The native Windows archive contains `labwired.exe` and `labwired-dap.exe`.
Install the current [x64 Microsoft Visual C++ v14 Redistributable](https://aka.ms/vc14/vc_redist.x64.exe)
first; both executables require `VCRUNTIME140.dll`. See Microsoft's
[runtime requirements](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
for supported Windows versions.
Download and extract the archive in PowerShell with `tar` available:
```powershell
$v = "v0.26.0"
Invoke-WebRequest "https://github.com/w1ne/labwired-core/releases/download/$v/labwired-$v-windows-x86_64.tar.gz" -OutFile labwired.tar.gz
mkdir $env:LOCALAPPDATA\LabWired -Force
tar -xzf labwired.tar.gz -C $env:LOCALAPPDATA\LabWired
$env:PATH += ";$env:LOCALAPPDATA\LabWired"
labwired --version
```
The VS Code extension does this for you on Windows — it downloads the same
archive on first use. WSL2 also works and takes the Linux instructions above.
Or build it yourself:
```sh
cargo build --release -p labwired-cli
```
## Running LabWired
### From your terminal
```sh
labwired run --chip configs/chips/