feat: experimental AP branch/tier selector (0x3FD mux1 UI_apmv3Branch) - #148
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an experimental opt-in AP branch/tier selector (
UI_apmv3Branch) on0x3FDmux 1, bits 40-42 (byte 5 bits 0-2). Values: Off (default) / Live / Stage / Dev / Stage2 / EAP / Demo.Implemented clean-room from the DBC signal definition (start bit 40, length 3) — no third-party code copied.
Changes
fsd_state.h:uint8_t apmv3_branch(0xFFsentinel = OFF).0x3FDmux1 handlers: write the 3-bit field when a branch is selected; byte-for-byte unchanged when OFF (only byte5 bits 0-2 touched — no overlap with the bit45/46/47 lane/EAP/summon bits).prefs.cpp: NVSapmv3.web_dashboard.cpp: dropdown selector with the experimental hint.test_fsd_core.c:test_apmv3_branch. 500 host tests pass; ESP32 builds clean.