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.0.0.tar.gz (8.6 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.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file idf_wokwi-1.0.0.tar.gz.

File metadata

  • Download URL: idf_wokwi-1.0.0.tar.gz
  • Upload date:
  • Size: 8.6 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.0.0.tar.gz
Algorithm Hash digest
SHA256 3717d9746190dc73473cfa848af32fef8faa3cae672f52d0b1de36f4e4973796
MD5 9ef03cc70105109a149a225c862c919b
BLAKE2b-256 239a0d14f7506e7000ff0f61d4220d808f05d0287f6bbba409eed8bc0bffed56

See more details on using hashes here.

Provenance

The following attestation bundles were made for idf_wokwi-1.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: idf_wokwi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e422a6c8200df29b122e6fc01dae3f1230f7eb3cc401e9f710c74ed5eb3dc71a
MD5 faa1112a4ea5808f54d8b3de3a6f18a7
BLAKE2b-256 ee95f67e444bc7e2927022ec729756fa8d844cddad6ed1c1a548127448853ba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for idf_wokwi-1.0.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