arm: stm32: update script and config