diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-01-15 10:16:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-01-15 10:16:13 +0100 |
commit | 7b8c37d235c77d881db4184a798fc4b72a1fa279 (patch) | |
tree | 974caf26a3964f1650285ae80f6c924d29474abd /Makefile | |
parent | c374e91391d3e58295375f439b15fe888bcdb3bd (diff) |
Add Software I2C implementation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |