Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idf_wokwi-1.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idf_wokwi-1.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

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

Hashes for idf_wokwi-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5bc809da32cc6d4bed146d977b229489c199f876e5601aa862d2a525cc81c36d
MD5 0e6d6533ae649b1662686f3fd44d89af
BLAKE2b-256 ae91bbc27a5baff4a13829a210531cec72599d0a84c916b6874257c9a9fa5b29

See more details on using hashes here.

Provenance

The following attestation bundles were made for idf_wokwi-1.1.0.tar.gz:

Publisher: release.yaml on wokwi/idf-wokwi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for idf_wokwi-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb1393956ba032cd14c0ab87a5bcc7155937db59f589f5043ef3bf671d726f33
MD5 0bdffe798833d3db35a1bc54ae2bcea0
BLAKE2b-256 7d3e741a6d32f474078c05546236ef459d23f17e3db581f9fc5e5c64038d93e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for idf_wokwi-1.1.0-py3-none-any.whl:

Publisher: release.yaml on wokwi/idf-wokwi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page