打印

为啥用IAR建工程出现错误startup_stm32f10x_md.s 的错误?

[复制链接]
535|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
喷水壶|  楼主 | 2019-11-27 13:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 126
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 129
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 130
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 137
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 141
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 142
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 144
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 146
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 147
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 149
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 151
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 152
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 154
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 156
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 157
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 159
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 161
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 162
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 164
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 165
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 166
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 168
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 170
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 171
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 173
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 174
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 175
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 177
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 178
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 179
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 181
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 183
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 185
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 186
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 187
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 188
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 189
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 190
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 191
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 192
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 193
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 194
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 195
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 196
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 197
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 198
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 199
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 200
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 201
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 202
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 203
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 204
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 205
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 206
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 207
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 208
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 209
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 210
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 211
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 212
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 213
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 214
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 215
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 216
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 217
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 218
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 219
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 220
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 221
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 222
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 223
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 224
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 225
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 226
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 227
Error[40]: Bad instruction F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 275
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to  F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 277
the power of 2, the second is a 32-bit fill value).
Error[0]: Invalid syntax F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 282
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to  F:\keil实验\my proctect\CMSIS\startup_stm32f10x_md.s 301
the power of 2, the second is a 32-bit fill value).
Error while running Assembler
stm32f10x_adc.c  
我里面就写一个main函数且无内容为啥还出错。
#include"stm32f10x.h"

int main (void)
{
  return 0;
}

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

433

主题

437

帖子

0

粉丝