lvm script tool for stm32