Hello everybody, I'm new here and to Arduino in general. I'm trying to create a program to utilize the GSM library.
My program is 315 lines and it is basically reading incoming SMS and inspecting incoming calls. I'm using ATMega328P as an mcu.
The problem I have is when I compile and export the file as binary because I want to upload it to the mcu using avrdude and AVRISP MKII. The hex file size (even the one without the bootloader) is huge: 47k. While the ATMega328P flash can only store 32K.
If I compile the code with CodeVision, the result will be around 6K.
Why does Arduino generate such a large hex file? BTW: I'm using Duemilanove or Diecimila board and I'm using EEPROM.h and GSM.h libraries.