打印
[开发工具]

iar编译信息

[复制链接]
3278|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
南宫云明|  楼主 | 2013-4-22 15:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Building configuration: light - Debug 
Updating build tree...

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

Errors: none
Warnings: none

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

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

  2 079 bytes of readonly  code memory
    176 bytes of readonly  data memory
  1 480 bytes of readwrite data memory

Errors: none
Warnings: none

Link time:   0.09 (CPU)   0.09 (elapsed)

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

Total number of errors: 0
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

粉丝