From f6a842b1b064c83d42dfd626e888f79e4c1633e8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Aug 2018 10:18:25 +0200 Subject: Support optional SoftI2C pullups on MSP430 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e5dc27d..f6b1f0e 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,10 @@ ifneq ($(findstring softi2c,${drivers}), ) COMMON_FLAGS += -DDRIVER_SOFTI2C endif +ifeq (${softi2c_pullup}, 1) + COMMON_FLAGS += -DSOFTI2C_PULLUP +endif + ifeq (${timer_cycles}, 1) COMMON_FLAGS += -DTIMER_CYCLES endif -- cgit v1.2.3