0daeeb9518
It both reduces flash size and move symbols to read-only sections. The scheduler_tasks table is one known not to be in read-only section before due to the FastDelegate implementation. Before and after this patch: ArduPlane $ size ArduPlane.elf{.old,} text data bss dec hex filename 733368 8252 67352 808972 c580c ArduPlane.elf.old 730632 8236 64792 803660 c434c ArduPlane.elf ArduPlane $ nm -C ArduPlane.elf.old|grep scheduler_tasks 0000000000402800 t _GLOBAL__sub_I__ZN5Plane15scheduler_tasksE 00000000006b54c0 B Plane::scheduler_tasks ArduPlane $ nm -C ArduPlane.elf|grep scheduler_tasks 0000000000490900 R Plane::scheduler_tasks As can be seen above, now the scheduler_tasks symbol is in a read-only data section and in all of them we decreased the total size. For APM2 we have a little increase in the text size size. ArduPlane $ size ArduPlane.elf{.old,} text data bss dec hex filename 241940 942 4447 247329 3c621 ArduPlane.elf.old 242222 942 4431 247595 3c72b ArduPlane.elf ArduPlane $ nm -C ArduPlane.elf.old|grep scheduler_tasks 00001f8f T Plane::scheduler_tasks ArduPlane $ nm -C ArduPlane.elf|grep scheduler_tasks 00001f8f T Plane::scheduler_tasks |
||
---|---|---|
AntennaTracker | ||
APMrover2 | ||
ArduCopter | ||
ArduPlane | ||
docs | ||
libraries | ||
mk | ||
Tools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.pydevproject | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYING.txt | ||
Doxyfile.in | ||
MAINTAINERS.md | ||
README.md | ||
reformat.sh | ||
uncrustify_cpp.cfg | ||
uncrustify_headers.cfg | ||
Vagrantfile |
#ArduPilot Project#
The ArduPilot project is made up of:
User Support & Discussion Forums
APM Forum: http://ardupilot.com/forum/index.php
Community Site: http://diydrones.com
Developer Information
Github repository: https://github.com/diydrones/ardupilot
Main developer wiki: http://dev.ardupilot.com
Developer email group: drones-discuss@googlegroups.com
Contributors
How To Get Involved
The ArduPilot project is open source and we encourage participation and code contributions: guidelines for contributors to the ardupilot codebase
We have an active group of Beta Testers especially for ArduCopter to help us find bugs: release procedures
Desired Enhancements and Bugs can be posted to the issues list.
Helping other users with log analysis on diydrones.com and the APM forums is always appreciated:
There is a group of wiki editors as well in case documentation is your thing: ardu-wiki-editors@googlegroups.com
Developer discussions occur on drones-discuss@google-groups.com