The Cardputer Zero is supported, and its page says how to install it from the store

The page no longer warns that the handheld is not supported. It now gives
three ways to install MeshTerm: M5Stack's app store first, then the same
package from a GitHub release, then the source code for developers. The
README, the docs index, and the hardware guide say the same, and the
hardware guide says that the launcher selects the platform.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5.5 committed 2026-10-12 10:49:12 -04:00
1 parent 9ae0947717
commit b4b75008d2
4 files changed
+54 -35

No files matched your search

+11 -5
View File
@@ -195,6 +195,11 @@ pipx install git+https://github.com/jpmartineau/MeshTerm
**Do you not have a radio yet?** `meshterm --mock` runs the complete app on a simulated
mesh. You can look at the app before you buy anything.
### On the Cardputer Zero
Install MeshTerm from M5Stack's app store on the handheld. Its share code is `MTRM`.
[MeshTerm on the Cardputer Zero](docs/devices/cardputer-zero.md) has the details.
### Coming
**`pip install mesh-term`** will work after the package is published. It is not published
@@ -215,7 +220,7 @@ code survey, which we keep as a historical record. This table is a short version
| [The CLI cookbook](docs/cli/cookbook.md) | Common one-line commands, in groups by the task that you want to do. |
| [Configuring MeshTerm](docs/guide/configuration.md) | The preferences, the device profiles, and all the files that MeshTerm keeps in `~/.meshterm`. |
| [When a companion does not connect](docs/guide/connecting.md) | Bluetooth pairing on each system, how to find the PIN, USB permissions, and each connection error, with the action to take. |
| [MeshTerm on hardware](docs/devices/README.md) | Which handheld manual is the correct one for you: the [PicoCalc](docs/devices/picocalc-lyra.md) build, or the [uConsole](docs/devices/uconsole.md), whose LoRa chip MeshTerm can control directly. The [Cardputer Zero](docs/devices/cardputer-zero.md) is **not supported yet**. |
| [MeshTerm on hardware](docs/devices/README.md) | Which handheld manual is the correct one for you: the [PicoCalc](docs/devices/picocalc-lyra.md) build, the [uConsole](docs/devices/uconsole.md), whose LoRa chip MeshTerm can control directly, or the [Cardputer Zero](docs/devices/cardputer-zero.md), which gets MeshTerm from M5Stack's app store. |
| [How the code is laid out](docs/development/architecture.md) | The layers of the code, and where to put a new feature. |
| [CONTRIBUTING.md](CONTRIBUTING.md) | The development setup and the house rules. |
| [CHANGELOG.md](CHANGELOG.md) | What changed, with the newest change first. |
@@ -250,10 +255,11 @@ PicoCalc](docs/devices/picocalc-lyra.md)** goes from the shopping list for a sto
to a Linux handheld that has a LoRa radio soldered inside. **[MeshTerm on the
uConsole](docs/devices/uconsole.md)** shows how to control the SPI LoRa board of a uConsole
directly with `--spi`. It also shows how to use a small bridge, if you want the node to be
on the mesh at all times. M5Stack's Cardputer Zero also has a page, but it is **[not
supported yet](docs/devices/cardputer-zero.md)**. The scripts that the manuals run on the
device are in [`scripts/`](scripts/). If you do not know which manual is correct for you,
refer to [`docs/devices/README.md`](docs/devices/README.md).
on the mesh at all times. **[MeshTerm on the Cardputer
Zero](docs/devices/cardputer-zero.md)** shows how to install MeshTerm from M5Stack's app
store. On that handheld, MeshTerm drives the Cap LoRa-1262 radio directly. The scripts
that the manuals run on the device are in [`scripts/`](scripts/). If you do not know which
manual is correct for you, refer to [`docs/devices/README.md`](docs/devices/README.md).
Does a companion not connect? **[When a companion does not
connect](docs/guide/connecting.md)** explains Bluetooth pairing on Windows, Linux, and
+1 -1
View File
@@ -37,7 +37,7 @@ MeshCore companion on USB, Bluetooth, or Wi-Fi does not need them.
| **[MeshTerm on hardware](devices/README.md)** | Start here. It says which of the manuals below is the correct one for you, and what the scripts on the device do. |
| [MeshTerm on the PicoCalc](devices/picocalc-lyra.md) | How to change a stock ClockworkPi PicoCalc into a Linux handheld that has a LoRa radio soldered inside: the shopping list, the change to a Luckfox Lyra core, Calculinux, and the radio. |
| [MeshTerm on the uConsole](devices/uconsole.md) | A uConsole (CM4 or CM5) with the hackergadgets AIO LoRa board. Its SX1262 is on the computer's own SPI bus. MeshTerm can control it directly with `--spi`. Or a small bridge can make it a companion for a node that is always on. |
| [MeshTerm on the Cardputer Zero](devices/cardputer-zero.md) | ⚠️ **Not supported yet.** What exists for M5Stack's Linux Cardputer, and how to try it in the desktop emulator. |
| [MeshTerm on the Cardputer Zero](devices/cardputer-zero.md) | M5Stack's Linux Cardputer: how to install MeshTerm from the app store, use the Cap LoRa-1262 radio, and try the layout in the desktop emulator. |
## Reading the code
+5 -3
View File
@@ -15,7 +15,7 @@ has its own manual with numbered steps. This page tells you which manual is your
| a ClockworkPi **PicoCalc**, stock or already running Calculinux on a Luckfox Lyra, and I want MeshTerm on its own display | **[MeshTerm on the PicoCalc](picocalc-lyra.md)**: from the shopping list to a working machine |
| …and I want a **radio** inside it | the same manual, [Phase 3](picocalc-lyra.md#phase-3-add-the-radio): a XIAO nRF52840 + Wio-SX1262 soldered to the UART of the Lyra |
| a ClockworkPi **uConsole** with the hackergadgets AIO board (an SX1262 on the SPI bus of the host) | **[MeshTerm on the uConsole](uconsole.md)**: MeshTerm drives the radio directly with `--spi`. A bridge service can also present the radio as a companion, if you want it always on |
| an M5Stack **Cardputer Zero**, the one with a Raspberry Pi inside (not the ESP32 Cardputer or the Cardputer-Adv) | **[MeshTerm on the Cardputer Zero](cardputer-zero.md)**: ⚠️ **not supported yet**. MeshTerm has never run on the handheld. The page tells you what works in the emulator |
| an M5Stack **Cardputer Zero**, the one with a Raspberry Pi inside (not the ESP32 Cardputer or the Cardputer-Adv) | **[MeshTerm on the Cardputer Zero](cardputer-zero.md)**: install MeshTerm from M5Stack's app store. MeshTerm drives the Cap LoRa-1262 directly, or it uses a companion |
| a MeshCore companion on USB, Bluetooth, or Wi-Fi | nothing here. Read the [README](../../README.md). If the companion does not connect, read [When a companion does not connect](../guide/connecting.md) |
The handhelds have nothing in common except MeshTerm. Each manual runs scripts on the
@@ -78,8 +78,10 @@ meshterm platform # which platform this terminal resolv
```
The **cardputer-zero** platform is the display of the Cardputer Zero, which is 53×14.
MeshTerm draws this display itself. The platform is [not supported yet](cardputer-zero.md),
thus MeshTerm never detects it. Only `--platform cardputer-zero` selects it.
MeshTerm draws this display itself. MeshTerm does not detect this platform. On the
handheld, the launcher starts MeshTerm's own console, and the console selects the platform
(refer to [the Cardputer Zero page](cardputer-zero.md)). On another computer,
`--platform cardputer-zero` selects it.
The platform needs two things from the console: a font that has the glyphs that the
interface draws, and the stock sixteen-slot palette. The setup script in the PicoCalc
+37 -26
View File
@@ -1,23 +1,16 @@
# MeshTerm on the Cardputer Zero
> [!CAUTION]
> **The Cardputer Zero is not supported yet.**
>
> MeshTerm now runs on a real Cardputer Zero, with M5Stack's Cap LoRa-1262 as its
> radio. But it runs only from a copy of the source code that you set up yourself. There is
> no package in M5Stack's app store. Also, nobody has typed on the keyboard. Its keys
> are checked only when you send key events to it from another computer.
>
> Do not buy a Cardputer Zero to run MeshTerm on it yet. This page will tell you when that
> changes.
M5Stack makes three Cardputers. This page is about the **Cardputer Zero**. It has a
Raspberry Pi Compute Module 0 inside, and it runs Linux. The original Cardputer and the
Cardputer-Adv are ESP32 microcontroller boards. They cannot run MeshTerm, and nothing on
this page applies to them.
MeshTerm is an app in M5Stack's app store for the Cardputer Zero. It starts from the
launcher of the handheld and draws on its display. It can drive M5Stack's Cap LoRa-1262
radio directly, or it can use a MeshCore companion.
- [The device](#the-device)
- [Where the work stands](#where-the-work-stands)
- [What works](#what-works)
- [Installing it on the device](#installing-it-on-the-device)
- [Trying it in the emulator](#trying-it-in-the-emulator)
- [Radios](#radios)
@@ -41,9 +34,9 @@ The launcher gives an app the whole display and the keyboard, but it gives no te
to run in. Thus MeshTerm has its own console. This is a small program inside MeshTerm. It
draws each character on the display itself and reads the keys directly.
## Where the work stands
## What works
**Done, and tried on a real Cardputer Zero:**
All of these were tried on a real Cardputer Zero:
- MeshTerm starts from M5Stack's app launcher and draws on the display itself.
- MeshTerm has a layout for the display of 14 rows. The title bar also shows the unread
@@ -61,19 +54,36 @@ draws each character on the display itself and reads the keys directly.
forces it. A short press of **Esc** still goes back one screen, as on all other
handhelds.
**Not done:**
- MeshTerm in M5Stack's app store. `scripts/cardputer-zero/build-deb.sh` builds the
package, but the store does not have it yet. Until it does, you install MeshTerm
yourself (refer to the next section).
- Typing on the real keyboard. Key events for the arrows, Enter, Esc, Fn+4 to Fn+8, and
Shift were sent to the keyboard from another computer. They worked. The symbols on the
Sym layer agree with M5Stack's own keymap on the handheld. Nobody has typed a
message on it yet.
## Installing it on the device
This section is for users who know a Linux command line. The Cardputer Zero must be on
### From the app store
1. On the Cardputer Zero, open M5Stack's app store.
2. Find **MeshTerm**. It is in the **Radio & Comms** category. Its share code is `MTRM`.
3. Install it.
MeshTerm now has an icon in the launcher. The package has all that MeshTerm needs: its
Python libraries, the radio library for the Cap, and the font of the display. Each new
version of MeshTerm also goes to the store.
M5Stack examines a new app before the store shows it. If the store does not have MeshTerm
yet, install the same package from GitHub.
### From GitHub
Each [release of MeshTerm](https://github.com/jpmartineau/MeshTerm/releases/latest) has the
package that the store has, `meshterm_<version>-1_arm64.deb`. Copy it to the Cardputer
Zero, for example with `scp`. Then install it from a command line on the handheld:
```bash
sudo apt install ./meshterm_*_arm64.deb
```
To remove it, run `sudo apt remove meshterm`.
### From the source code
This way is for developers who know a Linux command line. The Cardputer Zero must be on
Wi-Fi. You also need a way to type commands on it. SSH from another computer is the
easiest way.
@@ -174,7 +184,8 @@ command line.
The Cap has no MeshCore firmware of its own. It is only a radio chip. Thus, while MeshTerm
is open, MeshTerm is the node, as it is on the AIO board of a uConsole. MeshTerm needs the
radio library, installed next to it:
radio library. The package from the store has it. If you install MeshTerm with pip,
install the library next to it:
```bash
pip install 'mesh-term[spi]'