Skip to content

Add Spektrum SRXL2 ESC support (protocol + serial port function) - #5

Open
RobertoD91 wants to merge 5 commits into
maintenance-10.xfrom
claude/esc-spektrum-protocol-check-i5b6jx
Open

RobertoD91 wants to merge 5 commits into
maintenance-10.xfrom
claude/esc-spektrum-protocol-check-i5b6jx

Conversation

@RobertoD91

@RobertoD91 RobertoD91 commented Jun 25, 2026 •

Copy link
Copy Markdown
Owner

Spektrum SRXL2 ESC support (companion to RobertoD91/inav#2)

Adds configurator support for the SRXL2 Smart ESC firmware feature:

  • Outputs tab: SRXL2 ESC/motor protocol (index 7, matching firmware PWM_TYPE_SRXL2).
  • Ports tab: "Spektrum SRXL2 ESC" peripheral function (id 28 ↔ firmware FUNCTION_SRXL2_ESC bit 28), 115200 default, unique per port.
  • Locale string 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.md in the firmware repo for wiring and debugging.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY

claude added 2 commits July 29, 2026 23:07
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
RobertoD91 force-pushed the claude/esc-spektrum-protocol-check-i5b6jx branch from 52bb529 to ab1ce13 Compare July 29, 2026 23:07
- 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
@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Configurator test build ready — commit 9d63a0f

Download build artifacts for PR #5

Available platforms (scroll to the Artifacts section at the bottom of the run page):

  • Windows x64 (ZIP, MSI) and x32 (ZIP, MSI)
  • macOS arm64 (ZIP, DMG) and x64 (ZIP, DMG)
  • Linux x64 (DEB, RPM, ZIP) and aarch64 (DEB, RPM, ZIP)

A GitHub login is required to download artifacts. Build is for testing only.

claude added 2 commits July 29, 2026 23:51
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
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.

2 participants