Replace the temperature calculation in daq.cpp by the DAQ NTC sensor driver. Temperatures below -50 °C are still considered as a missing sensor. A missing MOSFET temperature sensor keeps the previous value instead of setting an implausible temperature. The series resistor of the NTCs was specified as multiplier of the DAQ channels before. It is moved to the pullup-ohm property of the new ntc-fets and ntc-bat nodes and the gain of the DAQ channels is set to 1. Note for out-of-tree boards: The temp-fets and temp-bat DAQ channels need the labels daq_temp_fets and daq_temp_bat and a corresponding libresolar,daq-ntc-thermistor node with the labels ntc_fets and ntc_bat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
754 B
Plaintext
38 lines
754 B
Plaintext
# Main application configuration (overrides board-specific settings)
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
# only very small heap necessary for malloc in printf statements with %f
|
|
CONFIG_HEAP_MEM_POOL_SIZE=256
|
|
|
|
CONFIG_CPP=y
|
|
CONFIG_REQUIRES_FULL_LIBCPP=y
|
|
|
|
#CONFIG_WATCHDOG=y
|
|
CONFIG_TASK_WDT=y
|
|
CONFIG_THREAD_NAME=y
|
|
|
|
CONFIG_REBOOT=y
|
|
|
|
CONFIG_HWINFO=y
|
|
|
|
CONFIG_SENSOR=y
|
|
|
|
CONFIG_CONSOLE_SUBSYS=y
|
|
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_MODE_MINIMAL=y
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
|
|
# RNG required for ThingSet node ID generation in native_posix
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
|
|
CONFIG_THINGSET=y
|
|
CONFIG_THINGSET_SDK=y
|
|
|
|
# ThingSet protocol interface via UART serial
|
|
CONFIG_THINGSET_SERIAL=n
|
|
|
|
# Disable regular data publication on ThingSet serial at startup
|
|
CONFIG_THINGSET_REPORTING_LIVE_ENABLE_PRESET=n
|