zephyr/drivers/i2c/target/Kconfig.eeprom
Sahaj Sarup c7af24a065 drivers: i2c: target: Virtual EEPROM add ability to change i2c address
This patch adds the ability to change virtual i2c eeprom target address
at runtime using a single function.
Added CONFIG_I2C_EEPROM_TARGET_RUNTIME_ADDR as an optional Kconfig.

Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
2023-06-17 08:02:29 -04:00

16 lines
419 B
Plaintext

# I2C EEPROM Target configuration options
# Copyright (c) 2017 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config I2C_EEPROM_TARGET
bool "I2C Target EEPROM driver"
help
Enable virtual I2C Target EEPROM driver
config I2C_EEPROM_TARGET_RUNTIME_ADDR
bool "Set I2C Target EEPROM Address at Runtime"
depends on I2C_EEPROM_TARGET
help
Enable changing virtual I2C Target EEPROM device address at runtime