Skip to content

Support configurable SPI bus pins in Firmware Flasher - #1902

Merged
loucass003 merged 1 commit into
SlimeVR:server-rewritefrom
Feather-P:main
Aug 14, 2026
Merged

loucass003 merged 1 commit into
SlimeVR:server-rewritefrom
Feather-P:main

Conversation

@Feather-P

Copy link
Copy Markdown

Updates the Firmware Flasher UI to support the configurable SPI bus pins introduced in SlimeVR/SlimeVR-Tracker-ESP#539.

Adds a per-node ComponentLayout that is resolved from the schema path and applied when rendering the board-defaults graph.
Layout is driven by the schema path rather than hard-coded checks, so the new sections get their layout while the legacy default schema keeps its existing layout and behavior unchanged.

Adds a schema-driven default-value generator that rebuilds a full object from the JSON Schema defaults when a discriminator is switched or a new array item is added.
It also materializes array items from the schema (imu entries) that the old code left empty, which crashed the frontend.

This is the Server counterpart of:

The firmware-side SPI bus configuration is implemented in
SlimeVR/SlimeVR-Tracker-ESP#539

@Feather-P
Feather-P requested a review from loucass003 as a code owner August 6, 2026 05:07
@Feather-P
Feather-P changed the base branch from main to server-rewrite August 6, 2026 05:21

@ImSapphire ImSapphire left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look sane to me

@loucass003
loucass003 merged commit 922f212 into SlimeVR:server-rewrite Aug 14, 2026
11 of 13 checks passed
@ImSapphire

Copy link
Copy Markdown
Member

Thank you!

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.

3 participants