Hi,
When compiling my code in Keil5, I get different code sizes when using compiler V5.03 and V5.06.
Using V5.03 - default compiler used in Keil4- my code size is: Total RW Size (RW Data + ZI Data) 30240 ( 29.53kB)
Using V5.06 - default compiler used in Keil5- my code size is: Total RW Size (RW Data + ZI Data) 49096 ( 47.95kB)
A difference of 18.42KB. My target device is TM4C123FH6PM, and is has only 32KB of RAM, so this difference is huge!
With both compilers no optimization was used (level 0).
Why is the code size that different with the different compilers?
TIA,
In general, it always is to be expected that the code size differs with a different version of Arm Compiler in use.
Why in this case the code size increases to this value requires accessing your project and its settings.
If you possess a valid license key:
- open a new Support case and attach your project: https://www2.keil.com/support/silver?P=&V=&S=