source [find interface/stlink-v2.cfg]
transport select hla_swd
source [find target/stm32f1x.cfg]
修改main.c
while(1){/* USER CODE END WHILE */HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);HAL_Delay(1000);HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_RESET);HAL_Delay(1000);/* USER CODE BEGIN 3 */}