oep-client-python 0.0.10__tar.gz → 0.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/CHANGELOG.md +4 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/PKG-INFO +1 -1
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/pyproject.toml +1 -1
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/__init__.py +1 -1
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/fake.py +1 -1
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/.gitignore +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/LICENSE +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/README.ja.md +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/README.md +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/__main__.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/arm.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/capture.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/catalog.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/ch32_flash.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/cobs.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/config.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/console.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/core.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/decode.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/dump.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/endpoint.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/esp32_targets.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/fake_capture.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/fake_serial.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/fake_serve.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/fixture.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/frames.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/hid_stream.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/host.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/interfaces.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/link.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/message.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/names.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/registry.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/riscv.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/rp2350.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/target.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/uiapduino.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/src/oep_client/usb_stream.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_capabilities.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_capture.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_cobs.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_config.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_esp32_targets.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_fake_capture.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_fake_spec.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_flash_console.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_hid_stream.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_interfaces.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_link_host.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_link_serial.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_session.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_target_parts.py +0 -0
- {oep_client_python-0.0.10 → oep_client_python-0.0.11}/tests/test_usb_stream.py +0 -0
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.0.11
|
|
6
|
+
- (EN) The fake analog declares its 16-bit slots as bit 4 of the channels tag (bit i = 2^i, oep-if-capture §3.5).
|
|
7
|
+
- (JA) 偽の probe のアナログは、16 ビットの枠を channels の tag のビット 4 で宣言する(ビット i = 2^i、oep-if-capture §3.5)。
|
|
8
|
+
|
|
5
9
|
## 0.0.10
|
|
6
10
|
- (EN) Captures' times are ns on the probe's one clock with an uncertainty (oep-if-capture): `Segment.start_ns` / `start_uncertainty_ns` replace `start_us` (a segment is 33 bytes), the triggered event carries `trigger_ns`, and `Config.rate_measured` / `rate_ppm` say how sure the rate is. Analog captures: `AnalogCapture` (raw `values()`, the probe's `millivolts()`, `calibration()` - factory data and Vrefint, raw), with the answer read per channel (`zero`, `scale_nv`, `skew_ns`, `frontend`) and `reference`; `configure(frontends=)`. `CaptureGroup` binds tracks, starts them together with one trigger, and gives the group's `start_ns` and `trigger_ns`. The fake has them all (p4-x035: an analog on the ADC1 and a group), and describes a `chip`.
|
|
7
11
|
- (JA) キャプチャの時刻は、probe の 1 本の時計の ns と不確かさになった(oep-if-capture): `start_us` は `Segment.start_ns` / `start_uncertainty_ns` になり(区画は 33 byte)、出来事 triggered は `trigger_ns` を持ち、`Config.rate_measured` / `rate_ppm` がレートの確かさを示す。アナログ: `AnalogCapture`(生の `values()`、probe の 1 次式の `millivolts()`、`calibration()`: 出荷時の値と Vrefint を生のまま)。答えはチャネルごとに読む(`zero`、`scale_nv`、`skew_ns`、`frontend`)、`reference` も。`configure(frontends=)`。`CaptureGroup` はトラックを束ね、1 つのトリガで一緒に始め、組の `start_ns` と `trigger_ns` を返す。偽の probe はこれらをすべて持つ(p4-x035: ADC1 のアナログと組)。core の describe の `chip` も出す。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: oep-client-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.11
|
|
4
4
|
Summary: Open Embedded Probe (OEP) v1 host: serial / USB / TCP transports, the session rules, the standard interfaces, and a fake probe
|
|
5
5
|
Project-URL: Homepage, https://github.com/Open-Embedded-Probe/oep-client-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Open-Embedded-Probe/oep-client-python
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "oep-client-python"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.11"
|
|
8
8
|
description = "Open Embedded Probe (OEP) v1 host: serial / USB / TCP transports, the session rules, the standard interfaces, and a fake probe"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -120,7 +120,7 @@ def _analog_decl(frontends: list[tuple[int, int, int, int]], max_samples: int) -
|
|
|
120
120
|
out = tuple(catalog.tlv(_ANAD["mode"], struct.pack("<BBII", _CAPM[k], 1, max_samples, 8 if k == "repeat" else 1))
|
|
121
121
|
for k in ("one_shot", "repeat", "streaming"))
|
|
122
122
|
out += tuple(catalog.tlv(_ANAD["frontend"], struct.pack("<BiiI", *f)) for f in frontends)
|
|
123
|
-
return out + (catalog.tlv(_ANAD["channels"], bytes([4,
|
|
123
|
+
return out + (catalog.tlv(_ANAD["channels"], bytes([4, 1 << 4])), # s 16 (bit i = 2^i)
|
|
124
124
|
catalog.tlv(_ANAD["trigger"], struct.pack("<BI", 0b11001, max_samples - 1)), # immediate, cross up / down
|
|
125
125
|
catalog.u32(_ANAD["max_read"], 4096), catalog.u16(_ANAD["segment_ring"], 8),
|
|
126
126
|
catalog.u32(FEATURES, 0b001))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|