blob: 283bf1fbd76695330b594bc9674f2fafe8d85e9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
menuconfig EMUL_SN5S330
bool "sn5s330 emulator"
default y
depends on DT_HAS_CROS_SN5S330_EMUL_ENABLED
depends on I2C_EMUL
depends on ASSERT
help
Enable the sn5s330 emulator. This driver uses the emulated I2C bus. It
is used to test the sn5s330 driver. Emulator API is available in
zephyr/include/emul/emul_sn5s330.h
if EMUL_SN5S330
module = SN5S330_EMUL
module-str = sn5s330_emul
source "subsys/logging/Kconfig.template.log_config"
endif # EMUL_SN5S330
|