Browse Source

libopencmsis: Fill in missing CMSIS interrupt links

And correct a minor typo in the generated code.
pull/312/head
Karl Palsson 11 years ago
parent
commit
d3e228176f
  1. 33
      include/libopencmsis/dispatch/irqhandlers.h
  2. 2
      scripts/irq2nvic_h

33
include/libopencmsis/dispatch/irqhandlers.h

@ -1,9 +1,15 @@
#if defined(STM32F1)
#if defined(STM32F0)
# include <libopencmsis/stm32/f0/irqhandlers.h>
#elif defined(STM32F1)
# include <libopencmsis/stm32/f1/irqhandlers.h>
#elif defined(STM32F2)
# include <libopencmsis/stm32/f2/irqhandlers.h>
#elif defined(STM32F3)
# include <libopencmsis/stm32/f3/irqhandlers.h>
#elif defined(STM32F4)
# include <libopencmsis/stm32/f4/irqhandlers.h>
#elif defined(STM32L1)
# include <libopencmsis/stm32/l1/irqhandlers.h>
#elif defined(EFM32TG)
# include <libopencmsis/efm32/efm32tg/irqhandlers.h>
@ -14,8 +20,29 @@
#elif defined(EFM32GG)
# include <libopencmsis/efm32/efm32gg/irqhandlers.h>
#elif defined(LPC43XX)
# include <libopencmsis/lpc43xx/irqhandlers.h>
#elif defined(LPC13XX)
# include <libopencmsis/lpc13xx/irqhandlers.h>
#elif defined(LPC17XX)
# include <libopencmsis/lpc17xx/irqhandlers.h>
#elif defined(LPC43XX_M4)
# include <libopencmsis/lpc43xx/m4/irqhandlers.h>
#elif defined(LPC43XX_M0)
# include <libopencmsis/lpc43xx/m0/irqhandlers.h>
#elif defined(SAM3A)
# include <libopencmsis/sam/3a/irqhandlers.h>
#elif defined(SAM3N)
# include <libopencmsis/sam/3n/irqhandlers.h>
#elif defined(SAM3S)
# include <libopencmsis/sam/3s/irqhandlers.h>
#elif defined(SAM3U)
# include <libopencmsis/sam/3u/irqhandlers.h>
#elif defined(SAM3X)
# include <libopencmsis/sam/3x/irqhandlers.h>
#elif defined(LM3S) || defined(LM4F)
/* Yes, we use the same interrupt table for both LM3S and LM4F */
# include <libopencmsis/lm3s/irqhandlers.h>
#else
# warning"no chipset defined; user interrupts are not redirected"

2
scripts/irq2nvic_h

@ -103,7 +103,7 @@ template_cmsis_h = '''\
* It was generated by the irq2nvic_h script.
*
* These definitions bend every interrupt handler that is defined CMSIS style
* to the weak symbol exported by libopenmc3.
* to the weak symbol exported by libopencm3.
*/
{cmsisbends}

Loading…
Cancel
Save