Files
rockblock9704-zephyr/python/pyproject.toml
T
scottp 4f5834a467 0.2.0: USB-C and the header share a port, and a real 9704 on the Stamp-C3
The 9704's USB-C goes through an FTDI chip to the modem's UART, on the
same lines as the header. With the cable plugged in, that chip drives
the modem's RX: a board on the header hears the modem but cannot reach
it, and the computer on USB gets no answer either. Unplug the USB-C and
power the 9704 from the header. The README says so beside the overlay
example, and docs/CLOUDLOOP.md lists it under "When begin fails".

The M5Stamp-C3 is the first microcontroller to run against a real 9704:
TX and RX only, the modem powered from the Stamp's 5 V pin. begin, info
and signal all answer, with nothing dropped. docs/boards/stamp_c3.md
has the power section and what has run.

no-control-pins.overlay takes P_EN, I_EN and I_BTD out of any board's
overlay at build time, for a modem on four wires. The modem node is
labelled rb9704 in every overlay so it can.

The module, the sample and the Python tools are 0.2.0.
2026-10-25 16:02:45 +11:00

37 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "rockblock9704-tools"
version = "0.2.0"
description = "Host tools for the RockBLOCK 9704: a command line for the modem and Cloudloop, and a fake modem for testing"
readme = "README.md"
license = "MIT"
authors = [{ name = "Scott Penrose", email = "scottp@dd.com.au" }]
requires-python = ">=3.10"
dependencies = ["pyserial>=3.5"]
[project.optional-dependencies]
# Ground Control's binding of the C library, for the verbs that use it.
# Pinned with the C library in ../west.yml (v1.0.1; 1.0.2 is the first
# Python release after it).
modem = ["rockblock9704==1.0.2"]
test = ["pytest>=7"]
[project.urls]
Homepage = "https://www.dd.com.au/"
Repository = "https://github.com/SH3D/rockblock9704-zephyr"
Issues = "https://github.com/SH3D/rockblock9704-zephyr/issues"
Changelog = "https://github.com/SH3D/rockblock9704-zephyr/blob/main/CHANGELOG.md"
[project.scripts]
rb9704 = "rb9704tools.cli:main"
rb9704-fake = "rb9704tools.fakemodem:main"
[tool.setuptools]
packages = ["rb9704tools"]
[tool.pytest.ini_options]
testpaths = ["tests"]