This allows out-of-tree libraries to implement their own temperature driver. We allow selecting TEMP_NRF5 to aviod dependency loops Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no> Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
7 lines
160 B
CMake
7 lines
160 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_TEMP_NRF5 AND NOT CONFIG_TEMP_NRF5_FORCE_ALT)
|
|
zephyr_library()
|
|
zephyr_library_sources(temp_nrf5.c)
|
|
endif()
|