1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
LibrePilot/flight/PiOS/inc
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
..
pios_adc_priv.h OP-293 PIOS/ADC: Fixed issue with DMA engine and odd numbers of channels not 2011-01-21 17:18:20 +00:00
pios_adc.h 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
pios_adxl345.h CC-3 Modules/CCAttitude: Add oversamplign to the accel data 2011-01-24 07:52:08 +00:00
pios_bl_helper.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_bmp085.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_com_priv.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_com.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_debug.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_delay.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_exti.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_flash_w25x.h CC-6 Flash chip working to read ID. Also tweaked how the semaphore for the SPI 2011-01-25 17:46:27 +00:00
pios_gpio.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_hcsr04.h OP-303 PIOS/Sonar: preliminary support for HCSR04 ultrasound altimeter module, tested and working :) 2011-01-28 19:21:22 +00:00
pios_hmc5843.h hmc5843: hide internal #defines and functions 2010-09-15 14:21:04 +00:00
pios_i2c_esc.h OP-237 I2C ESC support. This _will_ require you to reconfigure your 2011-01-10 01:11:44 +00:00
pios_i2c_priv.h PiOS/I2C: Lots of small changes. Added a few weird bus events that are 2010-12-17 07:01:58 +00:00
pios_i2c.h OP-14 OP-16: I2C Improvements 2011-01-17 02:11:12 +00:00
pios_iap.h OP-185 Flight helper functions for the firmware IAP object. Allows setting/clearing of back-up registers 2010-10-06 02:02:37 +00:00
pios_initcall.h uavobject: Use linker to produce uavobj initcalls 2011-01-30 22:46:48 +00:00
pios_irq.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_led.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_opahrs_proto.h OP-21/Bootloader - Change HW ID to 16bits. Should still be compatible with the old version. 2011-01-13 14:36:32 +00:00
pios_opahrs.h OP-21/Bootloader - Maximize flash space available for user code. Bring back delay on HID send (board->pc) it still hangs when blasted with data. AHRS is now Readable. 2010-12-21 17:25:24 +00:00
pios_ppm.h More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_pwm_priv.h OP-256 PIOS/PWM: Converting PWM input to use standard driver structure. 2011-01-24 07:51:45 +00:00
pios_pwm.h OP-256 PIOS/PWM: Converting PWM input to use standard driver structure. 2011-01-24 07:51:45 +00:00
pios_rcinput.h OP-73 Flight/PiOS: runtime RC input change, initial files just for review, not integrated to build yet 2010-11-11 19:09:39 +00:00
pios_sdcard.h OP-265 CopterControl: Fork main OpenPilot directory 2011-01-14 01:38:24 +00:00
pios_servo_priv.h OP-291 PIOS/Servo: Make the remapping of timers a part of the driver structure 2011-01-24 07:51:48 +00:00
pios_servo.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_spektrum_priv.h OP-22 PIOS/Spektrum: Made spektrum input driver, NOT YET TESTED!!!, also preliminary support for CC, sync/supv timer not yet fixed. 2011-01-28 09:25:30 +00:00
pios_spektrum.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_spi_priv.h CC-6 PIOS/SPI: Add semaphore to SPI device structure that can be used to ensure 2011-01-24 07:52:17 +00:00
pios_spi.h CC-6 PIOS/SPI: Add semaphore to SPI device structure that can be used to ensure 2011-01-24 07:52:17 +00:00
pios_stm32.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_sys.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usart_priv.h PiOS/USART: Use the buffer size defined in the board file 2011-01-14 01:38:37 +00:00
pios_usart.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_desc.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_istr.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_prop.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_pwr.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_wdg.h PIOS/WDG: Add back the returned delay for code that wants to clear WDG more 2011-01-13 19:01:33 +00:00
stm32f10x_conf.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
usb_conf.h Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00