Beginner's question: compiling AVR firmware for powerswitch
Posted: Mon Jun 25, 2007 11:52 am
Hello,
I have just built up the powerswitch project and it works perfectly .
For the start I just flashed the hex file from the download.
In a second experiment I recompiled the firmware with WinAVR and programmer's notepad by the "make all" command. Compilation was successful and the again flashed firmware worked fine as well.
Now the strange thing:
filesize of the original hex file is 4931 bytes
filesize of the hex-file I just produced is 5140 bytes
I did not change the code. How can this be?
Regards, Thomas
I have just built up the powerswitch project and it works perfectly .
For the start I just flashed the hex file from the download.
In a second experiment I recompiled the firmware with WinAVR and programmer's notepad by the "make all" command. Compilation was successful and the again flashed firmware worked fine as well.
Now the strange thing:
filesize of the original hex file is 4931 bytes
filesize of the hex-file I just produced is 5140 bytes
I did not change the code. How can this be?
Regards, Thomas