Fixes: #40538 The TEMP_NRF5 setting requires MULTITHREADING, therefore add this dependency to Kconfig. The TEMP_NRF5 supports an alternative driver implementation using the TEMP_NRF5_FORCE_ALT setting. Because it cannot be known whether an alternative implementation has the same dependency, then the MULTITHREADING is OR'ed with TEMP_NRF5_FORCE_ALT, as to allow enabling of TEMP_NRF5 if an alternative driver is provided. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
19 lines
474 B
Plaintext
19 lines
474 B
Plaintext
# nRF5 temperature sensor configuration options
|
|
|
|
# Copyright (c) 2016 ARM Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config TEMP_NRF5_FORCE_ALT
|
|
bool
|
|
depends on SOC_COMPATIBLE_NRF
|
|
help
|
|
This option can be enabled to force an alternative implementation
|
|
of the temperature sensor driver.
|
|
|
|
config TEMP_NRF5
|
|
bool "nRF5 Temperature Sensor"
|
|
depends on HAS_HW_NRF_TEMP
|
|
depends on MULTITHREADING || TEMP_NRF5_FORCE_ALT
|
|
help
|
|
Enable driver for nRF5 temperature sensor.
|