Skip to content

Commit deb55ba

Browse files
committed
feat(vscode): note about multiple [[chip]] sections
1 parent 42c7710 commit deb55ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/vscode/project-config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ name = 'inverter' # To use the chip in diagram.json, add a part with "chip-inve
6060
binary = 'chips/inverter.chip.wasm'
6161
```
6262

63-
Wokwi also requires a JSON file that describes the chip pins. The JSON file should have the same name as the wasm binary, but with a json extension (e.g. chips/inverter.chip.json in the above example). For a complete example, check out [the inverter-chip repo](https://github.com/wokwi/inverter-chip).
63+
Wokwi also requires a JSON file that describes the chip pins. The JSON file should have the same name as the wasm binary, but with a json extension (e.g. `chips/inverter.chip.json` in the above example). For a complete example, check out [the inverter-chip repo](https://github.com/wokwi/inverter-chip).
64+
65+
You can add multiple chips to your project by adding multiple `[[chip]]` sections, each with a different `name` and `binary`.
6466

6567
## diagram.json
6668

0 commit comments

Comments
 (0)