aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/nvic.h
diff options
context:
space:
mode:
authorStephen Caudle2011-10-31 00:24:47 -0400
committerStephen Caudle2011-10-31 00:41:19 -0400
commit5a89d4459146edfb073e8ffa299cd9598a98c27c (patch)
tree8b2b4cd7da3bec9f611c6917c7434faa1fd8ab87 /include/libopencm3/stm32/nvic.h
parent05bc9d10f15332358b18014d335a79fa3f4ed21c (diff)
Add initial support for STM32F4
Diffstat (limited to 'include/libopencm3/stm32/nvic.h')
-rw-r--r--include/libopencm3/stm32/nvic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/nvic.h b/include/libopencm3/stm32/nvic.h
index 339a159..61b231e 100644
--- a/include/libopencm3/stm32/nvic.h
+++ b/include/libopencm3/stm32/nvic.h
@@ -88,9 +88,13 @@
#ifdef STM32F2
#include <libopencm3/stm32/f2/nvic_f2.h>
#else
+#ifdef STM32F4
+#include <libopencm3/stm32/f4/nvic_f4.h>
+#else
#error "stm32 family not defined."
#endif
#endif
+#endif
/* --- NVIC functions ------------------------------------------------------ */