Definition for the boards supported on wokwi.com.
See boards/esp32-devkit-v1/board.json for an example.
Please review the contribution guidelines before submitting a new board definition.
- Create a new project on wokwi
- Click inside the code editor, press "F1" and choose "Load custom board file..."
- Select the directory that contains the board definition files (board.json and board.svg)
- The board should load into Wokwi. Check the browser JavaScript console for any error messages.
- 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.