1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/Modules
Mathieu Rondonneau 65cf467ca4 OP-423: move the module initialize funtion into a specific section for OP and CC.
- create linker section for those <module>Initialize()
- later this list will incorporate parameters as well. (this probably will be more a OP feature to swap/remove/delete module on the fly.
- this is not done at compile time anymore by Makefile.
- this will allow us to have control on the module start at run-time (not implemented but build the ground for it).
- this simplify the startup (Part of code re-org).
- this change does not affect sim_posix and win32 (since they don't need that)
- ensure it's compiling for PiOS.posix
- port to PiOS.win32 but not tested (not compiled)
- tested on CC
- compile on OP.
- this free ~200 bytes.
- current avalable bytes (is we keep the same remaining bytes on the stack than before) is easily passed the 1.2Ko mark on CC with new gcc (4.5.2)
- this does not include init-reorg for each module (I still think more can be freed)
2011-06-16 22:13:19 -07:00
..
Actuator OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
AHRSComms OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Altitude OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Attitude OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Battery OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Example OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
FirmwareIAP OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
FlightPlan OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
GPS OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Guidance OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
ManualControl OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
MK/MKSerial OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
Osd/OsdEtStd OP-174 ET OSD: barometric altitude works now, units must be set metric with E-Logger 2011-04-29 19:08:28 +03:00
Stabilization OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
System OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00
Telemetry OP-423: move the module initialize funtion into a specific section for OP and CC. 2011-06-16 22:13:19 -07:00