From 60ceec0266571dee2d17b29c1d83fceafceb3e00 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Sun, 2 Dec 2012 23:06:50 -0600 Subject: lm4f: Compile in the interrupt vector table Add an "#ifdef(LM4F)" clause to include/libopencm3/dispatch/nvic.h and lib/dispatch/vector_nvic.c. This compiles in the vector table and allows interrupts to be used. Signed-off-by: Alexandru Gagniuc --- lib/dispatch/vector_nvic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/dispatch/vector_nvic.c') diff --git a/lib/dispatch/vector_nvic.c b/lib/dispatch/vector_nvic.c index 33104eb..182de4c 100644 --- a/lib/dispatch/vector_nvic.c +++ b/lib/dispatch/vector_nvic.c @@ -23,7 +23,8 @@ #elif defined(LPC43XX) # include "../lpc43xx/vector_nvic.c" -#elif defined(LM3S) +#elif defined(LM3S) || defined(LM4F) +/* Yes, we use the same interrupt table for both LM3S and LM4F */ # include "../lm3s/vector_nvic.c" #else -- cgit v1.2.3