summaryrefslogtreecommitdiffstats
path: root/make.mk
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2021-09-29 11:46:53 -0400
committerGitHub <noreply@github.com>2021-09-29 11:46:53 -0400
commit7eb23e4f88a6633dd749ac2dc189249dac53e927 (patch)
tree1eb4b48fdccea954eca2883874f4c848f52912ec /make.mk
parent751ed9c7a48b78063a0ef2e1d7e79ed03f70560b (diff)
parent116304162486afcdb2e9a63fb748800ed8639591 (diff)
downloadSensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.tar.gz
Sensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.tar.bz2
Sensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.zip
Merge pull request #16 from joeycastillo/rtc-refactor
Refactor Real-Time Clock Functionality
Diffstat (limited to 'make.mk')
-rw-r--r--make.mk18
1 files changed, 11 insertions, 7 deletions
diff --git a/make.mk b/make.mk
index 461bef79..299d9d31 100644
--- a/make.mk
+++ b/make.mk
@@ -31,8 +31,6 @@ LDFLAGS += -mcpu=cortex-m0plus -mthumb
LDFLAGS += -Wl,--gc-sections
LDFLAGS += -Wl,--script=$(TOP)//watch-library/linker/saml22j18.ld
-# If you add any additional directories with headers, add them to this list, e.g.
-# ../drivers/
INCLUDES += \
-I$(TOP)/tinyusb/src \
-I$(TOP)/boards/$(BOARD) \
@@ -54,7 +52,6 @@ INCLUDES += \
-I$(TOP)/watch-library/hpl/oscctrl/ \
-I$(TOP)/watch-library/hpl/pm/ \
-I$(TOP)/watch-library/hpl/port/ \
- -I$(TOP)/watch-library/hpl/rtc/ \
-I$(TOP)/watch-library/hpl/sercom/ \
-I$(TOP)/watch-library/hpl/slcd/ \
-I$(TOP)/watch-library/hpl/systick/ \
@@ -64,8 +61,6 @@ INCLUDES += \
-I$(TOP)/watch-library/watch/ \
-I$(TOP)/watch-library
-# If you add any additional C files to your project, add them each to this list, e.g.
-# ../drivers/st25dv.c
SRCS += \
$(TOP)/tinyusb/src/tusb.c \
$(TOP)/tinyusb/src/common/tusb_fifo.c \
@@ -76,9 +71,19 @@ SRCS += \
$(TOP)/watch-library/main.c \
$(TOP)/watch-library/startup_saml22.c \
$(TOP)/watch-library/hw/driver_init.c \
+ $(TOP)/watch-library/watch/watch_rtc.c \
+ $(TOP)/watch-library/watch/watch_slcd.c \
+ $(TOP)/watch-library/watch/watch_extint.c \
+ $(TOP)/watch-library/watch/watch_led.c \
+ $(TOP)/watch-library/watch/watch_buzzer.c \
+ $(TOP)/watch-library/watch/watch_adc.c \
+ $(TOP)/watch-library/watch/watch_gpio.c \
+ $(TOP)/watch-library/watch/watch_i2c.c \
+ $(TOP)/watch-library/watch/watch_uart.c \
+ $(TOP)/watch-library/watch/watch_deepsleep.c \
+ $(TOP)/watch-library/watch/watch_private.c \
$(TOP)/watch-library/watch/watch.c \
$(TOP)/watch-library/hal/src/hal_atomic.c \
- $(TOP)/watch-library/hal/src/hal_calendar.c \
$(TOP)/watch-library/hal/src/hal_delay.c \
$(TOP)/watch-library/hal/src/hal_ext_irq.c \
$(TOP)/watch-library/hal/src/hal_gpio.c \
@@ -100,7 +105,6 @@ SRCS += \
$(TOP)/watch-library/hpl/osc32kctrl/hpl_osc32kctrl.c \
$(TOP)/watch-library/hpl/oscctrl/hpl_oscctrl.c \
$(TOP)/watch-library/hpl/pm/hpl_pm.c \
- $(TOP)/watch-library/hpl/rtc/hpl_rtc.c \
$(TOP)/watch-library/hpl/sercom/hpl_sercom.c \
$(TOP)/watch-library/hpl/slcd/hpl_slcd.c \
$(TOP)/watch-library/hpl/systick/hpl_systick.c \