[开发工具] iar编译信息

[复制链接]
4062|2
 楼主| 南宫云明 发表于 2013-4-22 15:06 | 显示全部楼层 |阅读模式
  1. Building configuration: light - Debug
  2. Updating build tree...

  3. main.c  
  4. iccstm8.exe D:\Documents\Desktop\light\main.c -e -Ol --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa  
  5. --no_cross_call --debug --code_model small --data_model medium -o D:\Documents\Desktop\light\Debug\Obj\  
  6. --dlib_config C:\Program Files\IAR Systems\Embedded Workbench 6.0\stm8\LIB\dlstm8smn.h --vregs 16
  7.    
  8.    IAR C/C++ Compiler V1.30.1.50036 for STM8
  9.    Copyright 2010-2011 IAR Systems AB.  
  10.   
  11. 887 bytes of CODE memory
  12. 232 bytes of DATA memory (+ 15 bytes shared)

  13. Errors: none
  14. Warnings: none

  15. Linking
  16. ilinkstm8.exe D:\Documents\Desktop\light\Debug\Obj\EEPROM.o D:\Documents\Desktop\light\Debug\Obj\MCU_Init.o  
  17. D:\Documents\Desktop\light\Debug\Obj\Send_315.o D:\Documents\Desktop\light\Debug\Obj\Uart.o D:\Documents\
  18. Desktop\light\Debug\Obj\app.o D:\Documents\Desktop\light\Debug\Obj\define.o D:\Documents\Desktop\light\Debug\
  19. Obj\main.o --redirect _Printf=_PrintfSmall --redirect _Scanf=_ScanfSmall -o D:\Documents\Desktop\light\Debug\Exe\
  20. light.out --config C:\Program Files\IAR Systems\Embedded Workbench 6.0\stm8\config\lnkstm8l101f3.icf --config_def  
  21. _CSTACK_SIZE=0x100 --config_def _HEAP_SIZE=0x100 --entry __iar_program_start --debug_lib

  22.    IAR ELF Linker V1.30.1.50036 for STM8
  23.    Copyright 2010-2011 IAR Systems AB.

  24.   2 079 bytes of readonly  code memory
  25.     176 bytes of readonly  data memory
  26.   1 480 bytes of readwrite data memory

  27. Errors: none
  28. Warnings: none

  29. Link time:   0.09 (CPU)   0.09 (elapsed)

  30. light.out
  31. Output Converter
  32. ielftool.exe --ihex --verbose D:\Documents\Desktop\light\Debug\Exe\light.out D:\Documents\Desktop\light\Debug\Exe\
  33. light.hex
  34.    IAR ELF Tool V9.9.2.31 [BUILT at IAR]
  35.    Copyright 2007-2011 IAR Systems AB.
  36. Loading D:\Documents\Desktop\light\Debug\Exe\light.out
  37. Saving ihex file to D:\Documents\Desktop\light\Debug\Exe\light.hex

  38. Total number of errors: 0
  39. Total number of warnings: 0
用的IAR FOR STM8,变以后出现这么多编译信息,哪部分是我程序使用空间大小,RAM使用情况?
是看这个:
2 079 bytes of readonly  code memory
    176 bytes of readonly  data memory
  1 480 bytes of readwrite data memory
还是:
887 bytes of CODE memory
232 bytes of DATA memory (+ 15 bytes shared)
cqmiao 发表于 2013-4-22 19:49 来自手机 | 显示全部楼层
887字节代码占用,232字节ram占用

评分

参与人数 1威望 +3 收起 理由
南宫云明 + 3 赞一个!

查看全部评分

 楼主| 南宫云明 发表于 2013-4-23 08:29 | 显示全部楼层
这样啊。。。那我的程序空间还有很多。。。那我估计程序空间够用了。。。3Q~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

22

主题

272

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部