Add ability to retrieve the shunt voltage if the end user wants to do the power calculation manually to handle negative power values. Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
16 lines
268 B
Plaintext
16 lines
268 B
Plaintext
# Copyright (c) 2023 North River Systems Ltd
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_ZTEST=y
|
|
CONFIG_ZTEST_NEW_API=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_EMUL=y
|
|
|
|
CONFIG_I2C_EMUL=y
|
|
CONFIG_I2C_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_INA237=y
|
|
CONFIG_INA237_VSHUNT=y
|
|
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|