Wokwi simulation extension for ESP-IDF (idf.py wokwi)
Project description
idf-wokwi
Wokwi simulation extension for ESP-IDF. Adds idf.py wokwi command.
Installation
pip install idf-wokwi
Usage
Set WOKWI_CLI_TOKEN to your Wokwi API token.
export WOKWI_CLI_TOKEN="your-token-here"
# Build and simulate
idf.py build
idf.py wokwi
# CI mode: exit when expected text appears
idf.py wokwi --timeout 10000 --expect-text "Hello world!"
Options
| Option | Description |
|---|---|
--diagram-file |
Path to diagram.json (defaults to project root) |
--timeout |
Simulation timeout in milliseconds (exit code 42 on timeout) |
--expect-text |
Exit successfully when this text appears in serial output |
--fail-text |
Exit with error when this text appears in serial output |
--expect-regex |
Exit successfully when this regex matches a serial output line |
--fail-regex |
Exit with error when this regex matches a serial output line |
Contributing
See CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idf_wokwi-1.1.0.tar.gz.
File metadata
- Download URL: idf_wokwi-1.1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bc809da32cc6d4bed146d977b229489c199f876e5601aa862d2a525cc81c36d
|
|
| MD5 |
0e6d6533ae649b1662686f3fd44d89af
|
|
| BLAKE2b-256 |
ae91bbc27a5baff4a13829a210531cec72599d0a84c916b6874257c9a9fa5b29
|
Provenance
The following attestation bundles were made for idf_wokwi-1.1.0.tar.gz:
Publisher:
release.yaml on wokwi/idf-wokwi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idf_wokwi-1.1.0.tar.gz -
Subject digest:
5bc809da32cc6d4bed146d977b229489c199f876e5601aa862d2a525cc81c36d - Sigstore transparency entry: 969211758
- Sigstore integration time:
-
Permalink:
wokwi/idf-wokwi@18ddac08d11c63324680eb32dc89c538d72605eb -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/wokwi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@18ddac08d11c63324680eb32dc89c538d72605eb -
Trigger Event:
push
-
Statement type:
File details
Details for the file idf_wokwi-1.1.0-py3-none-any.whl.
File metadata
- Download URL: idf_wokwi-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb1393956ba032cd14c0ab87a5bcc7155937db59f589f5043ef3bf671d726f33
|
|
| MD5 |
0bdffe798833d3db35a1bc54ae2bcea0
|
|
| BLAKE2b-256 |
7d3e741a6d32f474078c05546236ef459d23f17e3db581f9fc5e5c64038d93e9
|
Provenance
The following attestation bundles were made for idf_wokwi-1.1.0-py3-none-any.whl:
Publisher:
release.yaml on wokwi/idf-wokwi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idf_wokwi-1.1.0-py3-none-any.whl -
Subject digest:
eb1393956ba032cd14c0ab87a5bcc7155937db59f589f5043ef3bf671d726f33 - Sigstore transparency entry: 969211760
- Sigstore integration time:
-
Permalink:
wokwi/idf-wokwi@18ddac08d11c63324680eb32dc89c538d72605eb -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/wokwi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@18ddac08d11c63324680eb32dc89c538d72605eb -
Trigger Event:
push
-
Statement type: