prepare wakeup reset for ST-Link