-
1. Re: license limits optimization to level 5
bob.marlowe Feb 14, 2012 11:39 AM (in response to donghua.gu)1 of 1 people found this helpfulThis is where Keil wants to make a bit of money with. The free C-compiler is limited in the optimization level which is probably set to zero (0) in debug and set to larger than 5 in release mode. The effect of optimizing is not as dramatic as one may hope, but when your project really gets tight in flash-memory (after switching off ECC) you will have to buy Keil's compiler. I remember that a forum member dis this and was a bit dissapointed about the small effect of using better optimization.
Bob
-
2. Re: license limits optimization to level 5
donghua.gu Feb 14, 2012 12:00 PM (in response to donghua.gu)Thanks, I will just ignore the message then.
-
3. Re: license limits optimization to level 5
udayan.umapathi Feb 15, 2012 2:18 AM (in response to donghua.gu)Code optimisation for 8051 can be achieved using various methods. If you are limited on Flash size and need to sqeeze in additional code by optmising the existing code, you might want to check out this App Note,
PSoC 3 - 8051 Code Optimization - AN60630
-
4. Re: license limits optimization to level 5
jbright_1593366 Jan 31, 2018 12:57 PM (in response to bob.marlowe)user_1377889 wrote:
I remember that a forum member dis this and was a bit dissapointed about the small effect of using better optimization.
Disappointed in the improvement in speed or in size?
There's no way to try the professional compiler and see how much it improves the size before spending $2000 on it, is there?