diff --git a/include/libopencm3/dispatch/nvic.h b/include/libopencm3/dispatch/nvic.h index 08074e31..c671d094 100644 --- a/include/libopencm3/dispatch/nvic.h +++ b/include/libopencm3/dispatch/nvic.h @@ -23,7 +23,8 @@ #elif defined(LPC43XX) # include -#elif defined(LM3S) +#elif defined(LM3S) || defined(LM4F) +/* Yes, we use the same interrupt table for both LM3S and LM4F */ # include #else diff --git a/lib/dispatch/vector_nvic.c b/lib/dispatch/vector_nvic.c index 33104eb2..182de4c8 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