74f28884777d6533bb15cfe10e382b4d4082d3b4
Code was 28.8 KB of the ~32 KB a single 68k code resource can reach. visormesh.def declares section vmcode2; multigen generates the stub and linker script; build-prc takes the name, creator and backup bit from the .def. protocol.c and ui/text.c move there (segment 1 now 24.3 KB, segment 2 4.9 KB). Every function in them, static ones too, is declared VM_SECT2 so calls from segment 1 go through the __text__vmcode2 jump base, and their two static const tables became plain data, since const data stays in segment 1 where PC-relative code in segment 2 can't reach it. The rules are in src/sections.h. Checked in the objects: no .text left in the moved files, cross-segment calls go through the section bases.
VisorMesh
A MeshCore client for the Handspring Visor (Palm OS 3.5.2H3.0).
The Visor works as a terminal for a MeshCore companion radio. The radio (a Seeed XIAO nRF52840 with a Wio-SX1262) handles LoRa, routing and crypto. The Visor only speaks the companion framing protocol over a byte stream. The radio sits on a custom Springboard module with its own LiPo, so it keeps meshing while the Visor sleeps.
See docs/design.md for the architecture and the reasons behind each decision, and docs/progress.md for the current status and log.
Repo layout
| Path | What |
|---|---|
hardware/sb-lora/ |
SB-LoRa Springboard carrier board: KiCad, fab outputs (JLCPCB), generator scripts. See its README |
firmware/ |
Patches to MeshCore: companion firmware on the XIAO's hardware UART (D6/D7) |
palm-client/ |
Palm OS client app (.prc), not started yet |
docs/design.md |
Architecture, protocol notes and decisions |
docs/progress.md |
Status, milestones and a dated log |
docs/reference/ |
Third-party reference: Handspring Springboard dev guide and mechanical spec, springSD v1.1 hardware |
Versioning
Hardware revisions are tagged in git (hw-v0.1, hw-v0.2, ...), so the files that went to fab for each order stay recoverable. Each board's README records its revision and status.
Releases
1
VisorMesh v0.1
Latest
Languages
C
70.6%
Python
26%
OpenSCAD
1.2%
Makefile
1.1%
Shell
1%