import stm32flash, upgraded to latest, dropped outdated patches