summaryrefslogtreecommitdiff
path: root/software/vectored_interrupts/Makefile
diff options
context:
space:
mode:
authorDrew Barbier <dbarbi1@gmail.com>2017-07-25 16:58:47 -0500
committerDrew Barbier <dbarbi1@gmail.com>2017-07-25 16:58:47 -0500
commit64115be98dda5eae8840e373c85b0c615f196dbb (patch)
treee763daaad52014791d7ad624ced43703bb918707 /software/vectored_interrupts/Makefile
parent261668c5dc1ba680a55acc0ebcab2ef63110b880 (diff)
added vectored interrupt example
Diffstat (limited to 'software/vectored_interrupts/Makefile')
-rw-r--r--software/vectored_interrupts/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/software/vectored_interrupts/Makefile b/software/vectored_interrupts/Makefile
new file mode 100644
index 0000000..4365038
--- /dev/null
+++ b/software/vectored_interrupts/Makefile
@@ -0,0 +1,10 @@
+TARGET = vectored_interrupts
+CFLAGS += -O2 -fno-builtin-printf -DVECT_IRQ
+
+BSP_BASE = ../../bsp
+
+ASM_SRCS += $(ENV_DIR)/ventry.S
+C_SRCS += vectored_interrupts.c
+C_SRCS += $(BSP_BASE)/drivers/plic/plic_driver.c
+
+include $(BSP_BASE)/env/common.mk