OpenEdv-开源电子网

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

IAR添加启动文件大量报错

[复制链接]

16

主题

40

帖子

0

精华

初级会员

Rank: 2

积分
126
金钱
126
注册时间
2014-7-28
在线时间
2 小时
发表于 2015-7-19 09:56:27 | 显示全部楼层 |阅读模式
5金钱
不添加启动文件的时候该程序能够正常编译、运行,添加之后大量报错
Building configuration: CAN - Debug 
Updating build tree... 
 
1  file(s) deleted. 
Updating build tree... 
startup_stm32f10x_cl.s 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 42 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 43 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 53 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 55 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 63 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 68 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 69 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 70 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 71 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 72 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 73 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 74 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 75 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 76 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 77 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 78 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 79 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 80 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 81 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 82 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 83 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 86 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 87 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 88 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 89 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 90 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 91 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 92 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 93 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 94 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 95 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 96 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 97 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 98 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 99 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 100 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 101 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 102 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 103 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 104 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 105 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 106 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 107 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 108 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 109 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 110 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 111 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 112 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 113 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 114 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 115 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 116 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 117 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 118 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 119 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 120 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 121 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 122 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 123 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 124 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 125 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 126 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 127 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 128 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 129 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 130 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 131 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 132 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 133 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 134 
Warning[410]: DC or DS directive while in CODE area. C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 135 

Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 158 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 161 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 162 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 169 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 173 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 174 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 176 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 178 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 179 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 181 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 183 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 184 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 186 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 188 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 189 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 191 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 193 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 194 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 196 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 197 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 198 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 200 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 202 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 203 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 205 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 206 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 207 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 209 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 210 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 211 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 213 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 215 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 217 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 218 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 219 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 220 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 221 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 222 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 223 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 224 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 225 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 226 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 227 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 228 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 229 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 230 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 231 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 232 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 233 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 234 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 235 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 236 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 237 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 238 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 239 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 240 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 241 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 242 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 243 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 244 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 245 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 246 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 247 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 248 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 249 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 250 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 251 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 252 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 253 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 254 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 255 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 256 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 257 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 258 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 259 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 260 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 261 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 262 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 263 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 264 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 265 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 266 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 267 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 268 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 269 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 270 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 271 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 272 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 273 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 274 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 275 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 276 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 277 
Error[40]: Bad instruction C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 343 
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to the power of 2, the second is a  C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 345 
32-bit fill value). 
Error[0]: Invalid syntax C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 350 
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to the power of 2, the second is a  C:\Users\Administrator\Desktop\CAN\CAN\Startup\startup_stm32f10x_cl.s 369 
32-bit fill value). 
Error while running Assembler 
CAN.c  
core_cm3.c  
main.c  
misc.c  
stm32f10x_can.c  
stm32f10x_gpio.c  
stm32f10x_it.c  
Warning[Pe550]: variable "rece" was set but never used C:\Users\Administrator\Desktop\CAN\CAN\Users\stm32f10x_it.c 68 
stm32f10x_rcc.c  
stm32f10x_usart.c  
system_stm32f10x.c  
usart.c  
 
Total number of errors: 102 
Total number of warnings: 85 

最佳答案

查看完整内容[请看2#楼]

解决了,IAR和KEIL的启动文件不一样~~~
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

16

主题

40

帖子

0

精华

初级会员

Rank: 2

积分
126
金钱
126
注册时间
2014-7-28
在线时间
2 小时
 楼主| 发表于 2015-7-19 09:56:28 | 显示全部楼层
解决了,IAR和KEIL的启动文件不一样~~~
回复

使用道具 举报

16

主题

40

帖子

0

精华

初级会员

Rank: 2

积分
126
金钱
126
注册时间
2014-7-28
在线时间
2 小时
 楼主| 发表于 2015-7-19 10:32:04 | 显示全部楼层
我这个文件是startup_stn32f10X_cl.s,如果包含startup_stn32f10X_md.s就不会出现问题了,但是我需要使用双CAN~
回复

使用道具 举报

0

主题

1

帖子

0

精华

新手入门

积分
3
金钱
3
注册时间
2023-9-20
在线时间
0 小时
发表于 2023-9-20 10:39:48 | 显示全部楼层
怎么解决的,我也遇到一样的问题
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2024-11-23 23:29

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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