1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
LibrePilot/flight
stac 083e2b01a9 uavobject: Use linker to produce uavobj initcalls
The UAVObject initcall list is now automatically
generated at link time based on the exact set of
UAVObjects linked into the firmware image.

This will allow any subset of UAVObjects to be
used in any firmware image.

The uavobj_initcall() macro automatically adds the
marked function's address into the .initcalluavobj.init
ELF section.

The UAVObjectsInitializeAll() function now simply
iterates over the functions listed in the
.initcalluavobj.init section and calls them.

You can see the contents of this section in the ELF file
like this:
  ./tools/arm-2009q3/bin/arm-none-eabi-objdump \
      --syms -j .initcalluavobj.init \
      ./build/openpilot/OpenPilot.elf

This is fundamentally the same mechanism that the Linux
kernel uses to initialize the specific set of components
that the user has selected in their kernel configuration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2630 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 22:46:48 +00:00
..
AHRS Added PIP_DUMP_RAW option in ahrs.c and brought back public acces to function PIOS_ADC_GetOverSampling(void). 2011-01-29 15:59:35 +00:00
Bootloaders CC-13 CopterControl bootloader - don't know if this fixes it, please try it. 2011-01-28 21:02:48 +00:00
CopterControl CopterControl: reverting previous commit - doesn't work on windows due to command line length limitations 2011-01-29 16:15:16 +00:00
Doc flight/documentation/Architecture - Updated Architecture diagrams to reflect most of the current UAVObjects 2010-10-16 18:05:12 +00:00
Libraries Flight/FlightPlanner: First release of openpilot.py library giving access to RTOS and debug fields. Implemented STOP command, this should be the normal way for stopping scripts. The KILL command should be only used as a last resort for misbehaving scripts. The KILL command will delete the VM thread. 2011-01-22 21:32:23 +00:00
Modules OP-174 ET OSD, do not return from task, the system seems to crash when you do that; anyway the thread will be removed 2011-01-29 17:47:40 +00:00
OpenPilot BigMess: OpenPilot/Makefile: do not have an explicit list of UAVObjects in Makefile, include by wildcard uavobjects/*.c 2011-01-28 20:19:53 +00:00
PiOS uavobject: Use linker to produce uavobj initcalls 2011-01-30 22:46:48 +00:00
PiOS.posix PiOS.posix - split up FreeRTOS port into a linux version (original FreeRTOS linux code) and a non linux POSIX compatible version (Mac OSX, BSD, ...) - OS detection by Makefile.posix 2011-01-28 12:26:45 +00:00
PiOS.win32 PiOS.win32: changes according to rev 2480, fix compile error in manualcontrol.c, add vTaskDelete() to win32 FreeRTOS. 2011-01-19 23:52:11 +00:00
PipXtreme Build: last patches for windoes, and output targets 2011-01-24 20:34:29 +00:00
Project reverting bad commit of these files 2011-01-28 12:31:13 +00:00
UAVObjects uavobject: Use linker to produce uavobj initcalls 2011-01-30 22:46:48 +00:00
UAVTalk fixed line endings - mixed LF and CR+LF present - please keep it to either one of those or my editor gets crazy 2011-01-16 11:20:52 +00:00
README.txt Says all it needs to say for now. 2009-12-22 05:07:27 +00:00

Check the wiki