1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight
Stacey Sheldon 9f8d22961f cc makefile: enable -ffunction-sections and -fdata-sections
These compiler options place each function and each global variable
into its own ELF section in each .o file.  This, combined with the
linker option --gc-sections allows the linker to evict unused functions
and variables from the final ELF file.

On CC, the firmware flash bank is only 118784 bytes in total.

This commit reduces the .text segment from 114120 to 83536 and .data
from 572 bytes to 560 bytes.  That frees up a grand total of 30596 bytes
of flash and 12 bytes of RAM.
2012-08-11 20:13:09 -04:00
..
board_hw_defs hid joystick: emulate a USB HID joystick using RC Transmitter 2012-08-05 21:45:27 -04:00
Bootloaders Merge branch 'MikeL' into next 2012-06-07 11:31:41 -05:00
CopterControl cc makefile: enable -ffunction-sections and -fdata-sections 2012-08-11 20:13:09 -04:00
Doc Merged latest origin/next. 2012-05-05 09:40:44 -07:00
EntireFlash makefile: add additional context to output when building all_* targets 2012-06-20 23:38:21 -04:00
Libraries Fixed World Magnetic Model to accept altitude in meters instead of kilometers 2012-07-31 00:18:10 +02:00
Modules Merge remote-tracking branch 'origin/stac/rc-tx-joystick-emulation' into next 2012-08-11 11:21:18 -04:00
OpenPilot/System Merged latest origin/next. 2012-05-05 09:40:44 -07:00
PiOS hid joystick: use linearly scaled channels 2012-08-10 23:36:06 -04:00
PiOS.posix uavobjectmanager: simplify new embedded metadata objects 2012-07-07 21:49:53 -04:00
PiOS.win32 Fix win32 sim macro problem 2011-09-01 21:50:13 -04:00
PipXtreme Fix for OP-661: error messages in GCS log due to obsolete AHRSComms and SDCard related alarms. Change also disables obsolete SDCard support on the flight side of CC and PipX 2012-07-31 11:07:07 +09:30
Project gdb: add gdb setup file for simposix 2012-07-07 10:36:36 -04:00
RemoteSystemsTempFiles Merge branch 'next' into MikeL 2012-06-04 16:59:31 -07:00
Revolution Reenable PIOS_GPS_SETS_HOMELOCATION on Revo. 2012-07-11 23:37:03 +02:00
SimPosix Re-enabled simposix SDCard support, and removed obsolete SDCard alarm usage from System module 2012-08-01 19:53:59 +09:30
UAVObjects Fix for OP-661: error messages in GCS log due to obsolete AHRSComms and SDCard related alarms. Change also disables obsolete SDCard support on the flight side of CC and PipX 2012-07-31 11:07:07 +09:30
UAVTalk Exposed the Send ACK/NACK function in UAVTalk. 2012-05-02 20:42:37 -07:00
README.txt Says all it needs to say for now. 2009-12-22 05:07:27 +00:00

Check the wiki