diff --git a/include/libopencmsis/dispatch/irqhandlers.h b/include/libopencmsis/dispatch/irqhandlers.h index 65e071d7..ad64306b 100644 --- a/include/libopencmsis/dispatch/irqhandlers.h +++ b/include/libopencmsis/dispatch/irqhandlers.h @@ -1,9 +1,15 @@ -#if defined(STM32F1) +#if defined(STM32F0) +# include +#elif defined(STM32F1) # include #elif defined(STM32F2) # include +#elif defined(STM32F3) +# include #elif defined(STM32F4) # include +#elif defined(STM32L1) +# include #elif defined(EFM32TG) # include @@ -14,8 +20,29 @@ #elif defined(EFM32GG) # include -#elif defined(LPC43XX) -# include +#elif defined(LPC13XX) +# include +#elif defined(LPC17XX) +# include +#elif defined(LPC43XX_M4) +# include +#elif defined(LPC43XX_M0) +# include + +#elif defined(SAM3A) +# include +#elif defined(SAM3N) +# include +#elif defined(SAM3S) +# include +#elif defined(SAM3U) +# include +#elif defined(SAM3X) +# include + +#elif defined(LM3S) || defined(LM4F) +/* Yes, we use the same interrupt table for both LM3S and LM4F */ +# include #else # warning"no chipset defined; user interrupts are not redirected" diff --git a/scripts/irq2nvic_h b/scripts/irq2nvic_h index 1fb48bdf..52f12653 100755 --- a/scripts/irq2nvic_h +++ b/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}