I'm confused, isn't the whole point of using the STM32CubeIDE that all the peripherals, like say setting up an ADC on pins 4 and 7, are checkbox features?
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_ADC
It also generates a ton of bloat and comments.
It also generates a ton of bloat and comments.