zephyr/drivers/sensor/si7055/Kconfig
Anas Nashif cffe98d9de crc: Make the build of crc function dependent on a Kconfig
Add CONFIG_CRC for building CRC related routines.
CRC routines are now being built for each application, whether used or
not and are add in the build system unconditionally.

Keep CONFIG_CRC enabled by default for now and until all users have
converted to use the new option.

Partial fix for #50654

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-11-23 13:30:00 +01:00

22 lines
483 B
Plaintext

# Copyright (c) 2019 Electronut Labs
# Copyright (c) 2020 Laird Connectivity
# SPDX-License-Identifier: Apache-2.0
menuconfig SI7055
bool "Si7055 Temperature Sensor"
default y
depends on DT_HAS_SILABS_SI7055_ENABLED
select I2C
select CRC
help
Enable I2C-based driver for Si7055 Temperature Sensor.
if SI7055
config SI7055_ENABLE_CHECKSUM
bool "SI7055 Checksum On Measurement"
help
Validates the additional checksum byte for temperature measurements.
endif # SI7055