summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-19 09:35:10 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-19 09:35:10 +0200
commit6192b8ceda6b34c90eea39f4d6c7bea709ad3611 (patch)
tree6b7b3ed2256ac1ee34723908f7301c3d141a5c49 /src/arch/msp430fr5969lp
parent255085d06a75c424cd6b95aaac10056e5de65876 (diff)
msp430: Notify software if I2C driver is active
Diffstat (limited to 'src/arch/msp430fr5969lp')
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index d639a9d..aeeb213 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -34,6 +34,7 @@ endif
ifneq ($(findstring softi2c,${drivers}), )
else ifneq ($(findstring i2c,${arch_drivers}), )
TARGETS += src/arch/msp430fr5969lp/driver/i2c.cc
+ COMMON_FLAGS += -DDRIVER_I2C
endif
ifneq ($(findstring spi_a1,${arch_drivers}), )