1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/OpenPilot
stac 3eceef43d3 spi: Connect device specific DMA IRQ handlers
Mark the device specific DMA IRQ handlers as strongly linked
aliases for the genericly named interrupt vector symbol.

Here's how this works...
 * The address of the symbol DMA1_Channel2_IRQHandler is written
   into the DMA1/Channel2 interrupt vector by the linker script.
 * The startup_*.S file specifies Default_Handler() as a weakly
   linked alias for DMA1_Channel2_IRQHandler.
 * We now override the weakly linked alias with the strongly linked
   PIOS_SPI_sdcard_irq_handler().
 * This results in the address of PIOS_SPI_sdcard_irq_handler() being
   written to the vector table for the DMA1/Channel2 interrupt.
 * The PIOS_SPI_sdcard_irq_handler() function is now called whenever
   the DMA1/Channel2 interrupt fires.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:13 +00:00
..
Modules attitude: Remove seq field from uavobject 2010-07-04 02:21:04 +00:00
System spi: Connect device specific DMA IRQ handlers 2010-07-04 02:21:13 +00:00
Tests Simplified the way test-applications can be built 2010-05-31 16:22:10 +00:00
UAVObjects alarms: Add alarm for AHRS Communications 2010-07-04 02:21:11 +00:00
UAVTalk OP-4 Flight/Telemetry Implement CRC in telemetry protocol 2010-04-25 21:20:13 +00:00
Makefile Minini removed from OpenPilot 2010-07-01 08:57:06 +00:00