diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-07 08:14:56 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-07 08:17:07 +0200 |
commit | 9877c448597249cd45919eb7173170cbb849e722 (patch) | |
tree | 07ae833dfa2a0b0da270ed8a9fc3f94f7947102f /Makefile | |
parent | 73e2f44f951f96ea644e2f28bf0e68475f87de13 (diff) |
add softi2c pullup to Kconfig
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -258,14 +258,23 @@ ifdef CONFIG_timer_freq COMMON_FLAGS += -DF_TIMER=${CONFIG_timer_freq} endif +ifdef CONFIG_driver_softi2c_pullup-dynamic_internal + softi2c_pullup=internal +endif ifeq (${softi2c_pullup}, internal) COMMON_FLAGS += -DSOFTI2C_PULLUP_INTERNAL endif +ifdef CONFIG_driver_softi2c_pullup_dynamic_external + softi2c_pullup=external +endif ifeq (${softi2c_pullup}, external) COMMON_FLAGS += -DSOFTI2C_PULLUP_EXTERNAL endif +ifdef CONFIG_driver_softi2c_pullup_external + softi2c_pullup=gpio +endif ifeq (${softi2c_pullup}, gpio) COMMON_FLAGS += -DSOFTI2C_PULLUP_FIXED_GPIO endif |