mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
3eceef43d3
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 |
||
---|---|---|
.. | ||
Modules | ||
System | ||
Tests | ||
UAVObjects | ||
UAVTalk | ||
Makefile |