Skip to main content
valio
Visitor II
Jan 4, 2013 3:43 PM UTC
Question

Stupid problem - get compiled firmware size in Cosmic STM8 toolchain

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

    klaasdc
    Associate III
    Jan 5, 2013 9:35 AM UTC
    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.

    luca239955_stm1_st
    Associate
    Jan 6, 2013 7:55 AM UTC
    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.

    richhamersley
    Visitor II
    Mar 4, 2013 5:31 PM UTC
    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.