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 <mr.nuke.me@gmail.com>
This commit is contained in:
@@ -23,7 +23,8 @@
|
|||||||
#elif defined(LPC43XX)
|
#elif defined(LPC43XX)
|
||||||
# include <libopencm3/lpc43xx/nvic.h>
|
# include <libopencm3/lpc43xx/nvic.h>
|
||||||
|
|
||||||
#elif defined(LM3S)
|
#elif defined(LM3S) || defined(LM4F)
|
||||||
|
/* Yes, we use the same interrupt table for both LM3S and LM4F */
|
||||||
# include <libopencm3/lm3s/nvic.h>
|
# include <libopencm3/lm3s/nvic.h>
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -23,7 +23,8 @@
|
|||||||
#elif defined(LPC43XX)
|
#elif defined(LPC43XX)
|
||||||
# include "../lpc43xx/vector_nvic.c"
|
# 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"
|
# include "../lm3s/vector_nvic.c"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user