The STM32 bootloader entry function as well as the flash size and page size variables were only used by ThingSet items of the DFU group, which were removed with the switch to the ThingSet SDK. The unused code is removed together with mcu.h and the obsolete HW_LOG_LEVEL option. The USB-C dead battery pull-downs of the STM32G4 are already disabled by the Zephyr SoC initialization if USB device support is not enabled, so the register access in setup() is not necessary anymore. The DC/DC duty cycle step size depending on the SoC series is moved from the code to the new Kconfig option DCDC_DUTY_STEP_SIZE with the same defaults. 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.