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 "}"     ADC1_2_IRQn                 = 18,     /*!

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

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

相关文章:

  • 2021-06-05
  • 2021-10-17
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2021-06-08
  • 2021-12-22
  • 2021-08-12
  • 2021-09-24
相关资源
相似解决方案