When compiling stm8s with STVD, you can see how the RAM ROM size is used

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.