summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a6f03c9..b7089b4 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,11 @@ ifneq ($(findstring sharp96,${drivers}), )
COMMON_FLAGS += -DSHARP96_CS_PIN=GPIO::${sharp96_cs_pin}
endif
+ifneq ($(findstring softi2c,${drivers}), )
+ TARGETS += src/driver/soft_i2c.cc
+ COMMON_FLAGS += -DDRIVER_SOFTI2C
+endif
+
ifeq (${timer_cycles}, 1)
COMMON_FLAGS += -DTIMER_CYCLES
endif