From 1684ffe18d4f8e54ebcec204b965bd1052ad7885 Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 18 Oct 2012 13:27:33 +0200 Subject: fallback for unknown chips --- include/libopencm3/dispatch/nvic.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/libopencm3/dispatch/nvic.h') 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 #else -# error "no chipset defined." +# warning"no chipset defined; user interrupts are disabled" + +#define NVIC_IRQ_COUNT 0 +#define IRQ_HANDLERS + #endif -- cgit v1.2.3