Skip to main content

Simulate CircuitPython using Zephyr simulator

Project description

simulate-circuitpython-nativesim

Simulate CircuitPython using Zephyr simulator

prepare-system

Prepare the runner for the simulator (and possible build process)

Inputs

None

Outputs

None

build-firmware

Build the nativesim firmware (or use a cached version if available)

Inputs

Argument Name Description Default Notes
version Version of CircuitPython to simulate latest Must be a version that supports the Zephyr OS native sim
circuitpython-folder Folder name to use for the CircuitPython checkout cpysim Change this if it conflicts with another file/folder
firmware-filepath Filepath for the built firmware ./firmware.exe

Outputs

Argument Name Description Notes
restored Whether the firmware was restored from cache

prepare-flash

Prepare the flash space for the simulator

Inputs

Argument Name Description Default Notes
flash-filepath Filepath for the desired flash binary file ./flash.bin
circuitpy Filepath to file or folder of files to add to the simualted CIRCUITPY N/A (required)

Outputs

None

simulate

Run the simulator

Inputs

Argument Name Description Default Notes
firmware-filepath Filepath for the built firmware ./firmware.exe
flash-filepath Filepath for the desired flash binary file ./flash.bin

Outputs

Argument Name Description Notes
output-text The text output from the simulator

License

This library is available under an MIT license.

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

simulate_circuitpython_nativesim-3.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file simulate_circuitpython_nativesim-3.0.1.tar.gz.

File metadata

File hashes

Hashes for simulate_circuitpython_nativesim-3.0.1.tar.gz
Algorithm Hash digest
SHA256 1e1f2fa901833a4d0dade49c44d18d14cf37adbaeba313918b76e4529e9e6391
MD5 f3466dee7239dd04a1cf8518314139cc
BLAKE2b-256 1a58dd5e0b096196b41cc3bd9b0c716f9e8f5ab45d63ce73538e2dc778a7461d

See more details on using hashes here.

Provenance

The following attestation bundles were made for simulate_circuitpython_nativesim-3.0.1.tar.gz:

Publisher: publish.yml on tekktrik/simulate-circuitpython-nativesim

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

File details

Details for the file simulate_circuitpython_nativesim-3.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simulate_circuitpython_nativesim-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fff624539d8ae69447a49c4284deb68a6bb4b934c01da42c9ea45f0c9b7fde38
MD5 31b344e40e997395854af2aa6801acd4
BLAKE2b-256 88e11e1156c71a8028bd079f42a8c0b2b4f673dccc0a80cc2911dcfe4a0acd89

See more details on using hashes here.

Provenance

The following attestation bundles were made for simulate_circuitpython_nativesim-3.0.1-py3-none-any.whl:

Publisher: publish.yml on tekktrik/simulate-circuitpython-nativesim

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