From 4bb9f8324b2228632518dac4389ff4a43fd39acb Mon Sep 17 00:00:00 2001 From: Drew Barbier Date: Mon, 7 Aug 2017 10:22:35 -0500 Subject: HiFive1 AON Watchdog example --- software/watchdog/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 software/watchdog/Makefile (limited to 'software/watchdog/Makefile') diff --git a/software/watchdog/Makefile b/software/watchdog/Makefile new file mode 100644 index 0000000..f614a4e --- /dev/null +++ b/software/watchdog/Makefile @@ -0,0 +1,9 @@ +TARGET = watchdog +CFLAGS += -O2 -fno-builtin-printf -DUSE_PLIC -DUSE_M_TIME + +BSP_BASE = ../../bsp + +C_SRCS += watchdog.c +C_SRCS += $(BSP_BASE)/drivers/plic/plic_driver.c + +include $(BSP_BASE)/env/common.mk -- cgit v1.2.3