-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Flash savings ideas : features/drivers to disable/remove to save flash #28210
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
Comments
+1 on EAHRS |
Plane: suggesting all of these could be custom build server options only. |
Winch |
I've used some of these ideas in https://github.com/ArduPilot/ardupilot/pull/28226/files - thanks! |
|
|
@andyp1per suggested -Os or -O1 default on current 2M boards |
That's the output from |
Thanks @peterbarker. I've extracted your list and sorted it for copter
|
It would be great if this information would find it's way into custom.ardupilot.org |
How much flash could we save by moving English language text messages (mostly sendtext) out to the GCS? I asked Co-Pilot Great question! Replacing long English text messages with short codes (like 3-character alphanumeric identifiers) can save significant flash space in embedded firmware like ArduPilot. There seem to be around 3000 send_text messages so the savings might be as much as 30-40k and as a bonus the GCS would be able to display messages in different languages. |
@timtuxworth not a good ideef....that would effectively disable them in OpenTX/EdgeTX and OSDs of all kinds....and trying to keep all GCS up to date would be impossible,especially on critical items... |
disable-in-turn.pdf |
Uh oh!
There was an error while loading. Please reload this page.
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:
Suggestions include:
The text was updated successfully, but these errors were encountered: