Skip to main content

pytest-embedded-arduino-cli-ch32rv

Japanese

A pytest-embedded-arduino-cli plugin for CH32 boards flashed by ch32rv (the uploader the ArduinoCore-CH32RV platform bundles).

pytest-embedded-arduino-cli already uploads with ch32rv and gives the test a dut read through ch32rv's monitor (pick its source - uart, dmseq, ... - with the profile's port_config in sketch.yaml). This plugin adds:

fixture what it is
ch32rv the ch32rv the platform installed (runtime.tools.ch32rv.path), as a path
oep_host an oep-client-python session on the OEP probe behind the port, through ch32rv's broker (.host is the Host)
ch32_uart the DUT's UART as the probe sees it: ch32_uart.open(baud) returns a channel with expect / expect_exact / write, like dut

ch32_uart opens a WCH-Link's UART bridge (the CDC serial port of the Link behind the port), or on an OEP probe an oep.fixture.uart planned onto the port's rx / tx lines, found from the labels the probe keeps (OEP host guide §5.3: <port>.rx / <port>.tx, e.g. oep config label <probe> 22 v003.rx --save). The port is the <port> of an oep://<probe>/<port> test port; a probe that names several ports needs that. Which DUT USART and route are wired to the probe is the test's business, not the plugin's.

The OEP session holds a 60 s lease, refreshed whenever the test uses it; a test that stays quiet for longer loses it.

pip install pytest-embedded-arduino-cli-ch32rv

Metadata

Release files for pytest-embedded-arduino-cli-ch32rv 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-embedded-arduino-cli-ch32rv 0.0.5
File Size Uploaded
pytest_embedded_arduino_cli_ch32rv-0.0.5.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-embedded-arduino-cli-ch32rv 0.0.5
File Interpreter ABI Platform
pytest_embedded_arduino_cli_ch32rv-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 36.9 kB

Release files / pytest_embedded_arduino_cli_ch32rv-0.0.5.tar.gz

Download URL pytest_embedded_arduino_cli_ch32rv-0.0.5.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c82430e175a019bfa9fa45c8414a26dc95e31df6db884facdd631b4d671f1d73
BLAKE2b-256 checksum
How to use checksums
3d3e844d3bb51ba75f7579b93d5144768e44594fdc539bfb819769abbb7bf921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / pytest_embedded_arduino_cli_ch32rv-0.0.5-py3-none-any.whl

Download URL pytest_embedded_arduino_cli_ch32rv-0.0.5-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4caea6f184be592f1549a5e0a049e09acb35a2e740337211251541eb84baeb2d
BLAKE2b-256 checksum
How to use checksums
2e1bd18dd92358e1feaaf13ddd60338900e4a046aedea3660a4fe9a6b84d604d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page