dispatch for chip specific nvic

This commit is contained in:
chrysn
2012-10-18 12:46:30 +02:00
parent a7f5f9f576
commit f705d1cd6e
3 changed files with 12 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
#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
# error "no chipset defined."
#endif