Skip to content

Pin ArduPilot/mavlink submodule and regenerate APM dialect#3

Open
robinhilliard wants to merge 2 commits into
mainfrom
mavlink-submodule
Open

Pin ArduPilot/mavlink submodule and regenerate APM dialect#3
robinhilliard wants to merge 2 commits into
mainfrom
mavlink-submodule

Conversation

@robinhilliard

Copy link
Copy Markdown
Contributor

Summary

  • Add vendor/mavlink git submodule (ArduPilot/mavlink) as the MAVLink dialect source of truth and remove hand-vendored config/*.xml copies.
  • Add mix mavlink.generate to regenerate lib/apm.ex, including post-processing to escape embedded quotes in @typedoc and describe_params/1 strings.
  • Regenerate lib/apm.ex to the pinned 2026 ardupilotmega dialect and document pin/regen workflow in docs/DIALECT.md and README (ArduPilot-only scope, clone with --recurse-submodules).

Test plan

  • git submodule update --init --recursive
  • mix mavlink.generate
  • mix test (14 tests, 0 failures)

robinhilliard added 2 commits June 14, 2026 00:48
Fix mode setting for ArduPilot custom modes, bounded command retries, focus/session cleanup, and cache timer bugs; add unit tests and mix setup tooling for modern OTP builds.
Replace vendored MAVLink XML with vendor/mavlink as the source of truth, add mix mavlink.generate with quote-escaping post-process, and refresh lib/apm.ex to the 2026 ardupilotmega dialect.
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.

1 participant