restureese / wokwi-boards

Custom board definitions for wokwi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wokwi-boards

Definition for the boards supported on wokwi.com.

See boards/esp32-devkit-v1/board.json for an example.

Testing a custom board

  1. Create a new project on wokwi
  2. Click inside the code editor, press "F1" and choose "Load custom board file..."
  3. Select the directory that contains the board definition files (board.json and board.svg)
  4. The board should load into Wokwi. Check the browser JavaScript console for any error messages.
  5. Paste the following code into the diagram.json file:
{
  "version": 1,
  "author": "Ambitious maker",
  "editor": "wokwi",
  "parts": [{ "type": "wokwi-custom-board", "id": "board" }],
  "connections": []
}

Your custom board should appear in the diagram editor. You can test the pin out, connect external components to it, and even start the simulation.

About

Custom board definitions for wokwi.com


Languages

Language:JavaScript 100.0%