Merge PR #26: add M5Stack Cardputer-Adv support

Integrate mjgodat's keyboard/display Companion, USB Companion, Repeater and
Room Server support for Cardputer-Adv with Cap LoRa-1262.

Fix UI retry dispatch and ACK ownership, packet/storage bounds, numeric
input validation, sparse channel selection, optional-display shutdown,
keyboard layout limits, reserved GPIOs and Windows cross-drive includes.
Retain all 350 contacts and queue capacity using the existing contact cache;
account for the custom UI's runtime allocations in the RAM admission gate.
Carry the MultiMote and DejaVu notices with firmware packages and add CI
coverage for all four board roles plus the shared T-Deck Companion.

Validation: all four Cardputer roles and the T-Deck BLE Companion build;
Cardputer sanitizer, UI, layout, ownership, licensing and storage tests;
65 RAM-policy tests and 14 contact-cache tests. PlatformIO ran serially.

PR: https://github.com/mikecarper/MeshCore/pull/26
This commit is contained in:
mikecarper committed 2026-10-27 22:25:35 -07:00
commit 64a068506b
76 files changed
+27802 -4

No files matched your search

+9
View File
@@ -21,6 +21,8 @@ from package_meshtext_license import (CAPABILITY as MESHTEXT_CAPABILITY,
notice_record as meshtext_notice_record)
from package_pocket_gui_license import (pocket_gui_evidence,
notice_bytes as pocket_gui_notice_bytes, notice_record as pocket_gui_notice_record)
from package_cardputer_license import (cardputer_evidence,
notice_bytes as cardputer_notice_bytes, notice_record as cardputer_notice_record)
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "tools" / "mota"))
from motalib import parse_nrf52_layout
@@ -234,6 +236,13 @@ def main() -> int:
except (OSError, ValueError) as error:
print(f"capability check: cannot qualify linked MeshPocket GUI/fonts: {error}", file=sys.stderr)
malformed = True
try:
if cardputer_evidence(args.image):
stem = args.output.name.removesuffix(".capabilities.json")
third_party_notices.append(cardputer_notice_record(stem, cardputer_notice_bytes()))
except (OSError, ValueError) as error:
print(f"capability check: cannot qualify linked Cardputer UI/fonts: {error}", file=sys.stderr)
malformed = True
if args.require_meshtext and not chat_symbols:
checks.append({"capability": MESHTEXT_CAPABILITY,
"evidence": "Meshtext encode/decode, Companion send/receive, and Dispatcher raw-frame queue implementations",