Replace the register-level ADC, DAC and DMA handling in daq_driver.c by the new DAQ driver. The application only maps the measurements to the power ports and DC buses and handles the alerts. The factory calibration values are removed from mcu.h, as they are provided by the driver now. All boards are migrated to the new libresolar,stm32-daq compatible. The unit tests use the emulated DAQ. The high-side overvoltage limit is now set after the DAQ setup. Before, the limit was calculated before any reading of the internal reference voltage was available, so that the alert never triggered on boards without fixed reference voltage (STM32F0 and STM32L0). Note for out-of-tree boards: The adc-inputs node must use the compatible libresolar,stm32-daq instead of adc-inputs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Libre Solar Charge Controller Firmware
Charge controller basic concepts
Firmware module overview
API documentation
The documentation auto-generated by Doxygen can be found here.