Forum > Embedded - AVR

crosscompiler avr embedded size hex file


anyone know whether there is any parameter to reduce the size of the hex file generated by fpc, I made a simple example set on a pin in pascal (184bits) and did the same example in C (68 bits) found a big difference even using the build parameter -O3 and -XX

I have idea to leave the C and Pascal create in libraries for use in atmega (similar to the delay, serial etc.) however the ability of these devices is limited (8kb and 32kb) A code 3 times will be a big problem.

If someone can give an idea is welcome.



[0] Message Index

Go to full version