2015-05-18 03:24 PM
Hey guys,
I've been told that when using COSMIC to program my STM8S003F3 I should have a code size of 8 kilobytes. Currently my code size is at 3846 and I am getting a text size overflow. Is the 8 kilobytes not the true code size or is there something that I am missing? Thank you very much! Charles #codesize #cosmic2015-05-19 12:24 AM
2015-05-19 12:26 AM
Hi Charles,
I think(?) this question has been asked before and it seems that Cosmic includes the RAM footprint in its calculation too! Thanks, Ian2015-05-19 08:37 AM
Hey,
I'm pretty new to using ST Visual Develop. I'm looking at my linker information and it seems that the Input tab is specifying where to put my code. I've attached my a picture of my current screen, what exactly should I change to safely be able to increase my code size? Thanks again! Charles ________________ Attachments : linker.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htgo&d=%2Fa%2F0X0000000aVm%2F8iuQm8zeVIGUHR7eCznxV4kRKV7CXIqU.UfHBeJ3Ybs&asPdf=false2015-05-20 08:35 AM
2015-05-20 02:45 PM
Hey Luca,
I actually ended up switching environments and got it to work, so this problem is now solved, thank you for your help! When I tried to compile the error I got was that my code did not fit. It's very possible that I misread it and that it was saying I was going 3000 over the 8 kilobyte limit? The code is definitely less than 8 kilobytes when I compile it in the other environment though. I assume they must compile drastically differently if my code was actually turning out to be 11 kilobytes using ST Visual Develop when it is well under 8 kilobytes in the other environment. Either way, thank you very much for your help! Charles2017-02-09 06:29 AM
Hey Charles,
Which environment you switched to? I am facing the same problem and stuck big time.
Please help.