summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-10-21 16:39:32 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-10-21 16:39:32 +0200
commit386be4780922d8c6107163d044c557c59178200c (patch)
treeeb3386d5cb15fbeaa1d4163d582c5db41ae337fa /Makefile
parent7fe932417c4e36f89e4ce250788afa3f3f115443 (diff)
Add basic MPU9250 driver
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0a33696..2e42e6e 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,11 @@ ifneq ($(findstring hdc1080,${drivers}), )
COMMON_FLAGS += -DDRIVER_HDC1080
endif
+ifneq ($(findstring mpu9250,${drivers}), )
+ CXX_TARGETS += src/driver/mpu9250.cc
+ COMMON_FLAGS += -DDRIVER_MPU9250
+endif
+
ifneq ($(findstring mmsimple,${drivers}), )
CXX_TARGETS += src/driver/mmsimple.cc
COMMON_FLAGS += -DDRIVER_MMSIMPLE