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) |