A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/MabezDev/wokwi-server below:

GitHub - MabezDev/wokwi-server

A CLI tool for launching a wokwi instance for your project.

Download the prebuilt executables for you platform from the releases pages. Alternatively, if you have Rust installed you can install it via cargo.

cargo install wokwi-server --git https://github.com/MabezDev/wokwi-server --locked

Only two arguments are required, the target, specified with --chip and the path to your application elf file. Example running the esp-idf blink example on Wokwi:

idf.py build # build the application
wokwi-server --chip esp32 build/blink.elf # running example opened in the browser!
Simulating your binary on a custom Wokwi project

You can use the ID of a Wokwi project to simulate your resulting binary on it:

wokwi-server --chip <chip> --id <projectId> build/blink.elf

The ID of a Wokwi project can be found in the URL. E.g., the ID of ESP32 Rust Blinky is 345932416223806035.

Inside .cargo/config.toml, add a runner section to your target key (cargo reference). Example for the esp32:

runner = "wokwi-server --chip esp32"

Once configured, it's possible to launch and run your application in the Wokwi simulator by running cargo run.

Wokwi exposes a GDB stub which this tool exposes via a TCP connection, see the following vscode configuration as a reference.

If Wokwi doesn't progress past "Connecting to ws://localhost:9012..." in the browser:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4