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

来源:互联网 发布:用友软件操作视频教程 编辑:程序博客网 时间:2024/05/18 15:04

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;

解决办法:
1

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

2

阅读全文
1 0
原创粉丝点击