Hi I have an evaluation version of uVision. I have written some codes by using firmware framwork as my starting point. Everytime I build my codes, I am getting Code Size Limit in Restricted Version Exceed. How big is the limt(4K)? Is it the size of each file or the total size of all my combined files? Does anyone know any trick about cutting the size of the code significantly? Many Many Thanks for any input
Everytime I build my codes, I am getting Code Size Limit in Restricted Version Exceed That means it is time to purchase a full version. Erik
One place i have found to look at is for loops... most ppl use for (N = 0; N < 10; N++).... the 8051 has no good opcodes for this construct... but it does have a very good op code for the reverse of the for loop... for (N = 10; N != 0; N--)... the 8051 uses the opcode DJNZ... i have found that changing for loops to the 2nd method can save hundreds of bytes of code space over the whole application...