..\USER\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!

MDK软件编译,出现如下错误:

..\USER\stm32f10x.h(428): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
..\USER\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;

解决办法:
..\USER\stm32f10x.h(428): error: #67: expected a

配置MDK型号和头文件定义相匹配

..\USER\stm32f10x.h(428): error: #67: expected a

你可能感兴趣的:(STM32)