aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 02e27d3..3e7fea9 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -32,6 +32,7 @@
#define _LIBMAPLE_H_
#include "libmaple_types.h"
+#include "stm32.h"
/* General configuration */
#define DEBUG_NONE 0
@@ -67,6 +68,9 @@
/* Has a DAC? */
#define NR_DAC_PINS 0
+ /* Number of maskable interrupts */
+ #define NR_INTERRUPTS 43
+
/* USB Identifier numbers */
/* Descriptor strings must be modified by hand in
usb/descriptors.c for now */
@@ -111,6 +115,7 @@
#define NR_USART 5 /* NB: 4 and 5 are UART only */
#define NR_FSMC 1
#define NR_DAC_PINS 2
+ #define NR_INTERRUPTS 60
#define VCOM_ID_VENDOR 0x1EAF
#define VCOM_ID_PRODUCT 0x0004