summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-07 10:18:25 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-07 10:18:25 +0200
commitf6a842b1b064c83d42dfd626e888f79e4c1633e8 (patch)
tree5fb6088e10bd7fec2855a4c2a4914812e33a1be3 /Makefile
parent353aa77910b3a9eeb8282539b17c76c7c7ec0dc7 (diff)
Support optional SoftI2C pullups on MSP430
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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