Skip to main content
Visitor II
January 4, 2013
Question

Stupid problem - get compiled firmware size in Cosmic STM8 toolchain

  • January 4, 2013
  • 3 replies
  • 864 views
Posted on January 04, 2013 at 16:43 Reallystupid problem - toolchain provide info about final size of code module to be loaded in MCU flash ... Wrote a direct complain to Cosmic support, they answered:

As the software is a free software, there is no direct support. Support is 
done via the discussion forum on 
/public/STe2ecommunities/mcu/default.aspx

That's isnt dumb and headless ? Sorry.
    This topic has been closed for replies.

    3 replies

    Visitor II
    January 5, 2013
    Posted on January 05, 2013 at 10:35

    Yes it is dumb :( It is why other MCU families are more interesting for small developers.

    ST should really have released a proper free toolchain for the STM8 line instead of relying on other parties.

    Visitor II
    January 6, 2013
    Posted on January 06, 2013 at 08:55

    look in the map file: the first few lines give the size of each segment. For a basic configuration you will need to add up .text and .const sizes. For more complex configurations read the manual.

    Visitor II
    March 4, 2013
    Posted on March 04, 2013 at 18:31

    This is not a dumb request.  The IDE should provide a ''dashboard'' with flash usage, RAM usage, and other information, like competing IDEs do.