aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/stm32f2
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/stm32f2')
-rw-r--r--wirish/stm32f2/boards_setup.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/wirish/stm32f2/boards_setup.cpp b/wirish/stm32f2/boards_setup.cpp
index 9832bb7..d1ceac0 100644
--- a/wirish/stm32f2/boards_setup.cpp
+++ b/wirish/stm32f2/boards_setup.cpp
@@ -37,6 +37,7 @@
#include "boards_private.h"
#include <libmaple/gpio.h>
+#include <libmaple/syscfg.h>
#include <wirish/wirish_types.h>
// PLL configuration for 25 MHz external oscillator --> 120 MHz SYSCLK.
@@ -85,5 +86,10 @@ namespace wirish {
// Nothing to do.
}
+ void series_init(void) {
+ // We need SYSCFG for external interrupts
+ syscfg_init();
+ }
+
}
}