Is it possible to check the program size in STVD? So I can choose the correct Flash size of the MCU for my application...
The linker typically can generate a xxx.map (text) file which contains memory (flash/ram) consumption and sometime a calling tree to manually estimate the deepest stack point (assuming non recursive functions). Usually the MAP file is next to the generated S19/HEX file which contains the Flash image of the program.
For cosmic, open the project setting and look at Linker Output options. There should be something like "Generate Map File" as a check box.
Thank you for our answer Sebastien,
I opened the .map file, but still don't know where is the code size information, the flash consumption... :/
Found the answer in this thread: Cosmic / STVD / Memory use and allocation
Retrieving data ...