ARM code size - EM32 gecko examples
I'm evaluating CrossWorks 2.05 for EnergyMicro ARM processors. I built a few of the EM example programs and figured out the code size is rather big compared to what I get when building with IAR. ROM size is up to 3 times bigger. RAM size is only slightly bigger.
I've played with optimization switches but that didn't help much. As far as I can see the linker includes a lot of library functions even if they are never used by the sample code. Is there no dead code elimination?
I'm totally new to CrossWorks and given the overwhelming possibilities of the IDE I suppose I've overlooked something fundamental. I've searched the help and the web but didn't find anything useful beside another thread a few years ago where someone else mentioned missing dead code optimization.
Any hints?
Btw. the described way to switch to 'Changing to Multiple Document Workspace mode' do not work for me. There's no 'Multiple Document Workspace' entry in the Window menu.
Please sign in to leave a comment.
Comments
2 comments