Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROADMAP] Custom Chips #38

Open
Jozott00 opened this issue Mar 4, 2024 · 1 comment
Open

[ROADMAP] Custom Chips #38

Jozott00 opened this issue Mar 4, 2024 · 1 comment
Labels
enhancement New feature or request roadmap Feature on the roadmap

Comments

@Jozott00
Copy link
Owner

Jozott00 commented Mar 4, 2024

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

@Jozott00 Jozott00 added enhancement New feature or request roadmap Feature on the roadmap labels Mar 4, 2024
@georgik
Copy link

georgik commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap Feature on the roadmap
Projects
None yet
Development

No branches or pull requests

2 participants