"); //-->
ucOs_II移植过程中启动文件大量报错,感觉不应该在此处错
startup_stm32f10x_hd.s
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 37
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 38
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 47
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 49
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 57
Warning[410]: DC or DS directive while in CODE area. D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 62
Warning[410]: DC or DS directive while in CODE area. D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 63
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 144
Error[0]: Invalid syntax D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 148
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 159
Error[0]: Invalid syntax D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 160
Error[0]: Invalid syntax D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 210
Error[0]: Invalid syntax D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 262
Error[40]: Bad instruction D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 326
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to the power of 2, the second is a 32-bit fill value). D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 328
Error[413]: 'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the first parameter is raised to the power of 2, the second is a 32-bit fill value). D:\Stm32_ucosII_demo_yang\Libraries\CM3\startup\startup_stm32f10x_hd.s 352
错误所在:加错了启动文件,应该添加IAR中的“startup_stm32f10x_hd.s”
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。