summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/i2c/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-03-29 13:39:54 +0200
committerUros Majstorovic <majstor@majstor.org>2021-03-29 13:39:54 +0200
commit4566511371a8a80201c1adb0535cde722cbd9b48 (patch)
tree713ddf042dc19ba3d7517ea5957ddd2d7c802d62 /fw/fe310/eos/i2c/Makefile
parent3be79c828b4b9466fecb856b9ccf184304b852e0 (diff)
moved i2c from esp32 to fe310. added bq25895, drv2605 and lsm9ds1 i2c support
Diffstat (limited to 'fw/fe310/eos/i2c/Makefile')
-rw-r--r--fw/fe310/eos/i2c/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/fw/fe310/eos/i2c/Makefile b/fw/fe310/eos/i2c/Makefile
new file mode 100644
index 0000000..694fbf8
--- /dev/null
+++ b/fw/fe310/eos/i2c/Makefile
@@ -0,0 +1,17 @@
+include ../../common.mk
+
+CFLAGS += -I..
+
+obj = bq25895.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o