cfg: support calling legacy stm32 scripts