Skip to content

Take the flexible binaries of a pbw, built for every display of a class - #8

Closed
jplexer wants to merge 1 commit into
masterfrom
jp/flexible-binaries
Closed

jplexer wants to merge 1 commit into
masterfrom
jp/flexible-binaries

Conversation

@jplexer

@jplexer jplexer commented Nov 19, 2026

Copy link
Copy Markdown
Member

A pbw can hold flexible binaries: built for a class of displays (rect-color, rect-bw, round-color) instead of a platform, optionally requiring features (rect-color+mic). Their manifest marks them "flexible": true, gives a display without a size and lists requires in place of features. The format is in coredevices/PebbleOS#2919 and may still change, so this stays a draft until that is merged.

Until now such a directory was skipped, since its display cannot be read.

  • Platform reads a flexible manifest, and fits a watch of its shape that has the colour, app memory and features it needs.
  • compatible_directories ranks a flexible binary after the watch's own platform and an exact display match, before binaries for smaller displays; of several, the one that requires the most.
  • PebbleBundle offers flexible binaries to Emery, Flint and Gabbro after their own, and counts one of the watch's colour depth as meant for a watch only its description is known of. Frozen watches take what they took.
  • tests/platform_fit_cases.json is the table from PebbleOS with its twelve new cases.

@jplexer jplexer closed this Nov 19, 2026
@jplexer
jplexer deleted the jp/flexible-binaries branch November 19, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant