summaryrefslogtreecommitdiff
path: root/src/arch/blinkenrocket/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-16 09:14:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-16 09:14:56 +0200
commit7343085df78d0fabedcdd69b207b2c04962cf98a (patch)
tree33f7e530f45253826512195df82f721d30033c9e /src/arch/blinkenrocket/Makefile.inc
parent720d72a7dc083835475f6cd3e82a1800d43a6671 (diff)
Blinkenrocket: Configurable I2C speed
Diffstat (limited to 'src/arch/blinkenrocket/Makefile.inc')
-rw-r--r--src/arch/blinkenrocket/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index 1d99d0b..5a4259f 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -27,6 +27,10 @@ else ifneq ($(findstring i2c,${arch_drivers}), )
TARGETS += src/arch/blinkenrocket/driver/i2c.cc
endif
+ifneq (${i2c_freq}, )
+ COMMON_FLAGS += -DF_I2C=${i2c_freq}
+endif
+
OBJECTS = ${TARGETS:.cc=.o}
.cc.o: