dispatch for chip specific nvic
This commit is contained in:
16
include/libopencm3/dispatch/nvic.h
Normal file
16
include/libopencm3/dispatch/nvic.h
Normal 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
|
||||
Reference in New Issue
Block a user