Jozott00 / wokwi-intellij

An Intellij plugin that integrates the Wokwi simulator into Jetbrains IDEs such as CLion and RustRover.
https://jozott00.github.io/wokwi-intellij/
MIT License
8 stars 0 forks source link

[ROADMAP] Custom Chips #38

Open Jozott00 opened 9 months ago

Jozott00 commented 9 months ago

You can load custom chips to the simulation by adding a [[chip]] sections to your wokwi.toml configuration. The following example will load a chip from chip/inverter.chip.wasm and make it available under the name chip-inverter in Wokwi's diagram:

[[chip]]
name = 'inverter'  # To use the chip in diagram.json, add a part with "chip-inverter" type.
binary = 'chips/inverter.chip.wasm'

Custom chips - Wokwi docs

georgik commented 7 months ago

This would be very nice feature. Upvote. 👍

Sample scenario: ESP32-P4 with MIPI-DSI and GT911 touch simulation - https://github.com/georgik/rust_chip_inverter/tree/feature/gt911

Build custom chip cargo build --release, start the simulation. In VS Code there is GT911 touch screen controller visible in Rust Rover it's Missing Chip and also the simulation does not pick it up.