Image: reddit.com · Claude Code writes firmware, flashes a board and checks “Hello World” over UART
Claude Code writes firmware, flashes a board and checks it over UART
A closed loop where Claude Code builds firmware and verifies "Hello World" on real hardware.
Credits
Earliest dated source:
The full story
Agentic HIL gives Claude Code hardware tools through MCP so it can write firmware, flash a real board and read the board's serial output in the same session.
The demo has Claude write a small program, flash it and read "Hello World" back over UART, then run a deliberately wrong expectation to show what a failed check and its report look like. Test sequences can be saved as YAML plans and rerun.
A separate starter project for the Nucleo-F446RE board has three tests and a planted firmware bug, to practise finding the fault, changing the firmware and retesting on the board. Both are free under the Apache 2.0 licence.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Claude Code writes firmware, flashes a board and checks “Hello World” over UARTReddit poster: wyced21Published
A post in r/ClaudeCode introducing Agentic HIL and its STM32 starter, with repository links.
If it disappears: archived copy of Reddit: Claude Code writes firmware, flashes a board and checks “Hello World” over UART (opens in a new tab)