From 7b8c37d235c77d881db4184a798fc4b72a1fa279 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 15 Jan 2018 10:16:13 +0100 Subject: Add Software I2C implementation --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3