Zephyr's NTC thermistor driver reads the ADC on demand, which is not possible while the ADC is continuously sampled by the DAQ driver. The new sensor driver calculates the temperature from the filtered reading of a DAQ channel using the beta equation. The DAQ channel is referenced via phandle, the pull-up resistor, the nominal resistance and the beta value are configured in the devicetree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
330 B
CMake
9 lines
330 B
CMake
# Copyright (c) The Libre Solar Project Contributors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_subdirectory_ifdef(CONFIG_DAQ daq)
|
|
add_subdirectory_ifdef(CONFIG_HALF_BRIDGE half_bridge)
|
|
add_subdirectory_ifdef(CONFIG_POWER_SWITCH power_switch)
|
|
add_subdirectory_ifdef(CONFIG_LIBRESOLAR_STM32_TIM stm32_tim)
|
|
add_subdirectory(sensor)
|