Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ADSB handling in Navigator optional to save flash #24131

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Dec 19, 2024

Solved Problem

When reviewing #24127 I had the idea to make this logic optional since I'm assuming it's rare to have an ADSB transponder attached to a racer board with constrained flash.

Solution

Like with the CONFIG_MODE_NAVIGATOR_VTOL_TAKEOFF I made this feature of Navigator optional, enabled it by default but removed it from some flash constrained boards.

Changelog Entry

Make ADSB handling in Navigator optional to save flash

Alternatives

The not-so-nice part is that the ADSB related uORB and MAVLink messages and drivers are completely separate.

Test coverage

The Kakute F7 build fits in flash again with this change.

Copy link
Contributor

@sfuhrer sfuhrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fully agree with the approach, that's a low hanging fruit for constrained boards.
At least one CI test failure is real, can you have a look?

@MaEtUgR
Copy link
Member Author

MaEtUgR commented Dec 19, 2024

Yes, sorry it was the style check because on Mac I wasn't able to install this super old version of astyle from homebrew 🙄

@MaEtUgR MaEtUgR merged commit 839010e into main Dec 19, 2024
58 of 60 checks passed
@MaEtUgR MaEtUgR deleted the optional-adsb branch December 19, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants