From e585d5246b7391d35a5dc4b1ce2f79a310570f5e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 10 Apr 2021 11:09:57 +0200 Subject: Allow software and hardware i2c to be used together (e.g. on different pins) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4f518ae..3a00779 100644 --- a/Makefile +++ b/Makefile @@ -273,6 +273,10 @@ ifdef CONFIG_driver_softi2c COMMON_FLAGS += -DDRIVER_SOFTI2C endif +ifdef CONFIG_meta_driver_hardware_i2c + COMMON_FLAGS += -DDRIVER_HARDWARE_I2C +endif + ifdef CONFIG_lib_inflate CXX_TARGETS += src/lib/inflate.cc endif -- cgit v1.2.3