[求助] IAR编译出现以下错误 求助怎么解决

旧而久之   2015-6-14 13:01 楼主

回复评论 (4)

启动文件有问题!
点赞  2015-6-14 13:40
倒数第一个以上的错误都是你的这个函数没有定义,最后一个错误是你好像没有连接仿真器
点赞  2015-6-14 14:20
有可能是c文件没加入到工程中
昵称:灰小子
点赞  2015-6-14 15:34

Problem

After upgrading to EWARM 7.10.1 the Warning[25] is issued during assembly of a file that assembled without warning on earlier version of EWARM.

Background

The assembler (iasmarm) is (from EWARM 7.10.1) issuing Warning[25] for a deprecated assembler construction.

The deprecated assembler source construction looks like this:

      PUBWEAK NMI_Handler
      SECTION .text:CODE:REORDER(1)
  NMI_Handler
Solution

To avoid the warning, add ":NOROOT" to the "SECTION" statement:

      PUBWEAK NMI_Handler
      SECTION .text:CODE:REORDER:NOROOT(1)
  NMI_Handler
点赞  2015-6-14 20:10
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复