Just installed the STVD compiler, compile time does not show how much RAM and ROM? For this issue. There are two ways: one is to see the. map file There is also the addition of a patch, detailed operations such as the following, you can download the corresponding files in my resources.
http://download.csdn.net/detail/chuangwu2009/7350127
Found on the Internet:
1. Extract the Mapinfo.exe from the attachment compression package to the STVD \ installation path \STMICROELECTRONICS\ST_TOOLSET\STVD;
2. Open your project file with STVD, and right-click on project to select Settings ...
3. On the right side of the TAB select Linker. Select the drop-down box for category to output and tick before generate Map file.
4. Then select the tab to Post-build, remove the old text in the text box below, and paste one line at a time "MapInfo $ (OutputPath) $ (targetsname). Map";--remember not to add double-quotes.
5. Click OK button to confirm. Menu File->save Workspace. Save Project;
6. Compile again. You can see that the flash,ram,eeprom is taking up the number of bytes.
Look at my results:
ram:130 flash:7483 eeprom:0 stack:40
When compiling stm8s with STVD, you can see how the RAM ROM size is used