added stm32 reset option