feat: add Wokwi CLI for visual breadboard simulation

- Install wokwi-cli binary from GitHub releases
- Generate wokwi.toml and board-specific diagram.json in arduino-new
  with a button + LED breadboard layout for each supported board
- Add <leader>aw keybinding in nvim to run Wokwi simulation
- Diagram templates for: uno, mega, nano, esp32, esp32s3 (+ default)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MDietermann
2026-04-10 16:05:24 +02:00
parent 9c38a8414e
commit 9bec4660f6
4 changed files with 178 additions and 1 deletions

View File

@@ -105,7 +105,8 @@ echo " arduino-new my-project uno # scaffold a project"
echo " adev # launch Arduino workspace"
echo " <leader>av # compile in Neovim"
echo " <leader>au # upload in Neovim"
echo " arduino-sim build/fw.elf # simulate with Renode"
echo " wokwi-cli . # simulate with Wokwi (visual)"
echo " arduino-sim build/fw.elf # simulate with Renode (GDB)"
echo " <leader>ds # attach debugger to Renode"
echo " theme # switch colorscheme"
echo ""