21 lines
449 B
C
21 lines
449 B
C
#if defined(STM32F1)
|
|
# include <libopencm3/stm32/f1/nvic_f1.h>
|
|
#elif defined(STM32F2)
|
|
# include <libopencm3/stm32/f2/nvic_f2.h>
|
|
#elif defined(STM32F4)
|
|
# include <libopencm3/stm32/f4/nvic_f4.h>
|
|
|
|
#elif defined(TINYGECKO)
|
|
# include <libopencm3/efm32/tinygecko/nvic.h>
|
|
|
|
#elif defined(LPC43XX)
|
|
# include <libopencm3/lpc43xx/nvic.h>
|
|
|
|
#else
|
|
# warning"no chipset defined; user interrupts are disabled"
|
|
|
|
#define NVIC_IRQ_COUNT 0
|
|
#define IRQ_HANDLERS
|
|
|
|
#endif
|