On build, ststm32 platform copies stm32YYxx_hal_conf_template.h to stm32YYxx_hal_conf.h.
That works, but only until you need to use custom stm32YYxx_hal_conf.h, generated by stm32cubeMX. For example, if you wish to use HAL callbacks instead of global weak functions.
How can i ignore/drop default stm32YYxx_hal_conf.h? (extra python script would be ok too)