zephyr/drivers/bbram/Kconfig.microchip
Yuval Peress 69dfb2fee3 bbram: mcp7940c: Add emulator
Add an emulator for the mcp7940c BBRAM that supports reading and writing.

Signed-off-by: Yuval Peress <peress@google.com>
2024-01-12 09:59:31 +01:00

20 lines
563 B
Plaintext

# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BBRAM_MICROCHIP_MCP7940N
bool "Microchip MCP7940N SRAM BBRAM driver"
default y
depends on DT_HAS_MICROCHIP_MCP7940N_ENABLED
select I2C
help
Enable driver for Microchip MCP7940N SRAM based battery-backed RAM.
config BBRAM_MICROCHIP_MCP7940N_EMUL
bool "Emulator for the Microchip MCP7940N SRAM BBRAM driver"
default y
depends on BBRAM_MICROCHIP_MCP7940N
depends on EMUL
help
Enable the emulator for the Microchip MCP7940N SRAM based
battery-backed RAM.