I have a problem. I’m developing a firmware to load in my programmable XBee. The size of the code is apparently a little more than 28 kBs, so the compiler gives me an error (the code can’t be larger than 28.160 bytes)
So, does anyone know how i can reduce the size of the code? I’m talking about some configuration, the way that the compiler works, something like that.
I fixed the error, however, i don’t understand it. If i use the function pow() to power a number, it doesn’t work and the compiler gives me the error not enough space in ROM.
If i multiply the variable by itself, it works OK.