summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-17 13:53:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-17 13:53:33 +0200
commit29414b3003eafb1fd82c14893fb64805dae818b8 (patch)
treee291437527c024a28f9b16cf82689cc43ff43332 /Makefile
parentf6972a43581b24281b322a6f8d2bf02dafbe4433 (diff)
add timer-supported software i2c + arduino-nano timer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0771c1c..8baba0e 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,11 @@ ifeq (${softi2c_pullup}, 1)
COMMON_FLAGS += -DSOFTI2C_PULLUP
endif
+ifeq (${softi2c_timer}, 1)
+ arch_drivers += ,timer
+ COMMON_FLAGS += -DSOFTI2C_TIMER
+endif
+
ifeq (${kout_nop}, 1)
COMMON_FLAGS += -DKOUT_NOP
endif