aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libopencm3/dispatch/nvic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libopencm3/dispatch/nvic.h b/include/libopencm3/dispatch/nvic.h
index 322ec29..a405b5d 100644
--- a/include/libopencm3/dispatch/nvic.h
+++ b/include/libopencm3/dispatch/nvic.h
@@ -12,5 +12,9 @@
# include <libopencm3/lpc43xx/nvic.h>
#else
-# error "no chipset defined."
+# warning"no chipset defined; user interrupts are disabled"
+
+#define NVIC_IRQ_COUNT 0
+#define IRQ_HANDLERS
+
#endif