diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-04-10 11:09:57 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-04-10 11:09:57 +0200 |
commit | e585d5246b7391d35a5dc4b1ce2f79a310570f5e (patch) | |
tree | 198056eb5108053d18606fb3ffe0986d5babaa7c /Makefile | |
parent | ea1f28f59505579d90f0e51b1023c72f6fbb2ed8 (diff) |
Allow software and hardware i2c to be used together (e.g. on different pins)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |