IAR 老版可以如下设置

在options中的Show build messages中选择ALL,重新编译后即可看到代码量的大小。 
IAR 10 版查看目标生成代码量的方法

IAR10版中没有这个选项了

但是还有两种方法可以查看代码量

一、在map中的最底部,如下所示



                ****************************************
                *                                      *
                *        END OF CROSS REFERENCE        *
                *                                      *
                ****************************************


 97 328 bytes of CODE  memory
     34 bytes of DATA  memory (+ 81 absolute )
  6 104 bytes of XDATA memory
    194 bytes of IDATA memory
      8 bits  of BIT   memory
  1 054 bytes of CONST memory


Errors: none
Warnings: none


二、在build窗口中点右键,选择all,然后重新编译一遍,这个方法最简单

相关文章:

  • 2021-09-21
  • 2021-09-25
  • 2021-06-12
  • 2021-05-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2021-06-30
  • 2022-12-23
  • 2021-09-24
  • 2021-12-01
  • 2021-12-11
  • 2021-05-03
  • 2021-11-23
相关资源
相似解决方案