OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2317|回复: 2

求助

[复制链接]

17

主题

43

帖子

0

精华

初级会员

Rank: 2

积分
171
金钱
171
注册时间
2018-10-3
在线时间
60 小时
发表于 2019-5-5 13:46:29 | 显示全部楼层 |阅读模式
1金钱
战舰V3资料 源码 更攺芯片 F103cb 启动文件也改了。编译出现错误。
..\SYSTEM\sys\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
..\SYSTEM\sys\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
test.c: 1 warning, 1 error
compiling delay.c...
..\SYSTEM\sys\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
..\SYSTEM\sys\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
..\SYSTEM\delay\delay.c: 1 warning, 1 error
compiling sys.c...
..\SYSTEM\sys\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
..\SYSTEM\sys\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
..\SYSTEM\sys\sys.c: 1 warning, 1 error
compiling usart.c...
..\SYSTEM\sys\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
..\SYSTEM\sys\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
..\SYSTEM\usart\usart.c: 1 warning, 1 error
"..\OBJ\test.axf" - 4 Error(s), 4 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02



还需要做什么修

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

51

主题

2166

帖子

2

精华

论坛元老

Rank: 8Rank: 8

积分
10653
金钱
10653
注册时间
2017-4-14
在线时间
2780 小时
发表于 2019-5-5 13:57:35 | 显示全部楼层
回复

使用道具 举报

109

主题

5564

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
10572
金钱
10572
注册时间
2017-2-18
在线时间
1914 小时
发表于 2019-5-5 18:25:36 | 显示全部楼层
楼上的方法可以试试,你也可以网上找找基于你芯片的工程看人家工程全局宏定义是怎么写的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-20 21:09

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表