Skip to content

Capabilities from the features table for firmware after 3.10.10 - #105

Merged
wardviaene merged 2 commits into
mainfrom
feature-map
Nov 18, 2026
Merged

wardviaene merged 2 commits into
mainfrom
feature-map

Conversation

@wardviaene

Copy link
Copy Markdown
Member

Reader side of embeddedci-com/benchpod-firmware#162.

  • The SDK ships the features table (benchpod/feature_map.json, a copy of benchpod-firmware's features/features.json; scripts/sync-feature-map.sh), so deciding what a pod can do needs no network.
  • Capabilities read status with "caps":false (Transport.status_without_caps). Firmware that answers with features_rev gets its features from the table (Capabilities.features, has(), fpga_image, the hw facts); older firmware ignores the argument and sends its caps list, read as before. BenchPod.status() itself is unchanged.
  • supports() also takes table names without a flag of their own (la_dir, i2c_master, diag, ...). la_dir and bus_master use the table when the pod has it.
  • A pod with a newer table than the SDK logs one warning to update the SDK.
  • README: where capabilities come from now.

Tests: test_feature_map.py (the table gives a 3.10.10 analog pod everything its caps list gave; images, gateware, digital board, revisions; the client sends caps:false; the bundled copy equals the firmware sibling when present). Full suite: 981 passed. API surface snapshot refreshed (additive).

Not released; release before the firmware so old-firmware pods and new ones both work.

🤖 Generated with Claude Code

wardviaene and others added 2 commits November 18, 2026 09:45
The SDK ships benchpod-firmware's features/features.json (feature_map.json,
scripts/sync-feature-map.sh) and reads the pod's status with "caps":false. Firmware that
answers with features_rev gets its features from the table (Capabilities.features, has(),
fpga_image); older firmware ignores the argument and sends its caps list, read as before.
supports() also takes table names without a flag (la_dir, i2c_master, diag, ...). A pod with a
newer table than the SDK logs one warning to update the SDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit 5560f33 into main Nov 18, 2026
20 checks passed
@wardviaene
wardviaene deleted the feature-map branch November 18, 2026 16:06
wardviaene added a commit that referenced this pull request Nov 18, 2026
…106)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene wardviaene mentioned this pull request Nov 18, 2026
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