Firmware simulation,
built for your AI agent.
Connect Claude Code or Codex to OpenEDK and let your agent compile, simulate, verify and debug STM32 & AVR firmware over MCP — no toolchain, no hardware.
One endpoint. Sign in with Google. Your agent gets 13 firmware tools for 8 boards.
claude mcp add --transport http openedk https://mcp.openedk.com/mcp
Then run /mcp → openedk → Authenticate (browser opens for Google login).
codex mcp add openedk https://mcp.openedk.com/mcp
codex mcp login openedk
The login opens a browser for Google sign-in.
claude plugin marketplace add jeremy0612/OpenEDK
claude plugin install openedk@openedk
It adds this server and a probe bridge for real boards — see Docs → Plugin & CLI.
compile_firmware
C, C++ or an Arduino sketch for any of the 8 boards; returns the ELF, a run_id and the flash and RAM it takes.
simulate_firmware
Runs it on Renode (STM32) or simavr (AVR): UART, GPIO edges, I2C and SPI devices, ADC voltages; sensors and displays on AVR.
verify_firmware
Compile → simulate → grade the behavior you describe, or assertions on pins, rates, UART text and bus traffic.
decode_trace
Decodes UART, SPI or I2C from a run's pin trace with sigrok's protocol decoders.
get_firmware
Downloads a build as Intel HEX or ELF by its run_id, to flash a real board.
debug_*
debug_start, _break, _continue, _step, _eval, _registers, _stop: breakpoints, stepping and variables in the simulator.
list_simulation_targets
The 8 boards, and which peripherals each one simulates.
- Blue Pill STM32F103C8
- Nucleo-F401RE STM32F401RE
- STM32F4 Discovery STM32F407VG
- Arduino Uno ATmega328P
- Arduino Mega ATmega2560
- Pro Mini 3.3 V ATmega328P · 8 MHz
- Leonardo / Micro ATmega32U4
- ATtiny85 8 MHz internal
What each board simulates: Docs → Simulation targets.
Real boards: the plugin flashes and debugs an STM32 over ST-Link, CMSIS-DAP or J-Link, and captures its pins with a logic analyzer. It needs the openedk CLI with the probe commands, which no release ships yet.
Hit a rough edge, or want a chip or tool added? Tell us — the form opens in a new tab.
Open feedback form →