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

Flash savings ideas : features/drivers to disable/remove to save flash #28210

Open
4 tasks
rmackay9 opened this issue Sep 24, 2024 · 4 comments
Open
4 tasks

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Sep 24, 2024

AP's flash size is constantly growing as new features and drivers are added but unfortunately the STM32 autopilot's CPUs flash size is not keeping up. This means we need to disable or remove lesser used features from many boards.

This issue is to collect ideas (primarily from members of the core dev team) on features/drivers they think could be sacrificed.

Note we have a few ways to reduce flash:

  1. move the feature/driver to be disabled by default thus forcing users to rely on the custom build server
  2. migrate the feature to Lua forcing the user to load a Lua script
  3. completely remove the feature or driver

Suggestions include:

  • Generator (suggested by PeterB)
  • External AHRS (suggested by PeterB, Tridge)
  • Avoid ADSB copter flight mode (suggested by Randy)
  • AP_GPS_GSOF once we have it available as an EAHRS (from RyanF)
@Ryanf55
Copy link
Collaborator

Ryanf55 commented Sep 24, 2024

  • AP_GPS_GSOF once we have it available as an EAHRS.

+1 on EAHRS

@timtuxworth
Copy link
Contributor

Plane: suggesting all of these could be custom build server options only.
ICE
Precision Landing
Gimbals (except for Mount and Servo Gimbal)
VTX
Generator

@amilcarlucas
Copy link
Contributor

Winch
Exotic ESCs

@peterbarker
Copy link
Contributor

I've used some of these ideas in https://github.com/ArduPilot/ardupilot/pull/28226/files - thanks!

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

No branches or pull requests

5 participants