Hi,
I attached two projects, one compiled with AVR Toolchain, and the other with WinAVR 2010.
I had to change the chip from ATmega16 to ATmega32 because when compiled on AVR Toolchain, it is very large.
I added sections for the project in AVR Studio 5 in order to be able to compile. The strange thing is that the AVR Toolchain never complains when the chip flash is smaller than the hex generated...
What can I do about this issue? The hex generated with WinAVR2010 is around 7K, while from AVR Toolchain is larger than 16K. What should I do to obtain the smaller code size?