Add erase_mass command for stm32f4 devices.