[stm32] add upload rule to use ST-Link on SWD