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

Free RAM on IO - Take 2 #7167

Merged
merged 12 commits into from
May 2, 2017
Merged

Free RAM on IO - Take 2 #7167

merged 12 commits into from
May 2, 2017

Conversation

davids5
Copy link
Member

@davids5 davids5 commented May 2, 2017

@LorenzMeier

Free memory at "police light check" is 1656 bytes, that is 1056 up from master and up 176 bytes from pr-io-free-ram.

This has been tested on px4fmu-v2 (2 Mib) with Spektrum, and FrSky PPM and FrSky S Bus using QGC to check radio.

Based on your comment I refactored the first commit:
RC C library: Use same buffer as the protocols do not decode in parallel
There are now No code changes from master, other than file name refactoring and using a common struct. The only downside is that it that rc_common has to include all the other protocols.

@davids5 davids5 force-pushed the pr-io-free-ram_2 branch from eba033e to a4a60ff Compare May 2, 2017 02:15
@davids5 davids5 force-pushed the pr-io-free-ram_2 branch from a4a60ff to 4cda438 Compare May 2, 2017 02:18
@davids5 davids5 mentioned this pull request May 2, 2017
@LorenzMeier
Copy link
Member

Nice! I had tinkered on a similar approach locally, it makes a lot more sense than my first stab.

@LorenzMeier LorenzMeier merged commit 3ecb07f into master May 2, 2017
@LorenzMeier LorenzMeier deleted the pr-io-free-ram_2 branch May 2, 2017 05:40
@LorenzMeier LorenzMeier added this to the Release v1.6.0 milestone May 2, 2017
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