feat: opt-in Summon EU Unlock (0x3FD mux1 bit47) for HW3/HW4 - #144
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 opt-in Summon EU Unlock toggle (default OFF) that clears the EU summon restriction bit and sets the summon-enable bit on
0x3FD(DAS_autopilotControl) mux 1, on both HW3 and HW4.Background
The bits are the two documented in the ev-open-can-tools
summon-eu-unlock.jsonplugin:0x3FDmux 1, clear bit 19 (EU restriction), set bit 47 (summon enable). HW4 already set both as part of the AP-control injection; HW3 cleared bit 19 but never set bit 47, so this closes that gap and exposes it as an explicit, persisted, opt-in control. Refs #111, #139.Changes
fsd_state.h: newbool summon_unlock(default OFF).0x3FDhandlers: set bit 47 under the flag. ESP32 mux-1 gate widened to(nag_killer || summon_unlock), with the nag bits kept insideif(nag_killer)so nag output is byte-for-byte identical when summon is off.prefs.cpp: NVS persistence (summon).web_dashboard.cpp: "Summon EU Unlock" toggle in Controls.test_fsd_core.c:test_summon_unlock(HW3/HW4 × on/off). 467 host tests pass.Known limitations