Add Spektrum SRXL2 ESC support (protocol + serial port function) - #5
Open
RobertoD91 wants to merge 5 commits into
Open
RobertoD91 wants to merge 5 commits into
RobertoD91 wants to merge 5 commits into
Conversation
Companion to the firmware MOTOR REVERSE box for reversible SRXL2 Smart ESCs; without a category entry the box would still render, but at the end of the list. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY
Builds all platform packages via ci.yml and publishes a prerelease when a v*-srxl2-* tag or release/srxl2-* branch is pushed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY
RobertoD91
force-pushed
the
claude/esc-spektrum-protocol-check-i5b6jx
branch
from
July 29, 2026 23:07
52bb529 to
ab1ce13
Compare
- Add SRXL2 (index 7) to the ESC/motor protocol list so it can be selected in the Outputs tab. - Add the SRXL2_ESC serial port function (id 28, mask bit 28) so a UART can be assigned to the Spektrum SRXL2 ESC bus in the Ports tab. - Add the portsFunction_SRXL2_ESC label. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY
|
Configurator test build ready — commit Download build artifacts for PR #5 Available platforms (scroll to the Artifacts section at the bottom of the run page):
|
generateAuxConfig() silently drops any box whose permanentId is missing from the local FLIGHT_MODES table, so the mode never appeared in the Modes tab even though the firmware reported it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY
Matches the firmware renumbering (61/62 and 70/71 are now taken upstream by TERRAIN AGL HOLD and IN FLIGHT MENU). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY
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.
Spektrum SRXL2 ESC support (companion to RobertoD91/inav#2)
Adds configurator support for the SRXL2 Smart ESC firmware feature:
SRXL2ESC/motor protocol (index 7, matching firmwarePWM_TYPE_SRXL2).FUNCTION_SRXL2_ESCbit 28), 115200 default, unique per port.portsFunction_SRXL2_ESC.Usage: assign the function to the UART whose TX pad is wired to the ESC signal, set the motor protocol to SRXL2. See
docs/SRXL2_ESC.mdin the firmware repo for wiring and debugging.🤖 Generated with Claude Code
https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY