Recompiling the AVR code
Posted: Fri Apr 22, 2011 4:23 am
Hi Jeff,
I am playing with WinAVR (20100110) and trying to recompile your AVR LCD handler (main.c, lcd.c). You know, I want to make sure I can repro the whole stuff before I start with the project. I am going to reburn my AVR programmer's AVR as well.
So I left everything on default in WinAVR, opened lcd.c and called a "make all" command from the menu. Apart from the fact I got 13 warnings on signed/unsigned char array type mismatches (IMHO not a real problem), the resulting .hex file differs on 300+ positions (I checked it with frhed).
What do you think the reason for the differences could be? Since I am using your makefile, I can only think of compiler options or maybe you were using an older version of WinAVR. Any idea?
Thanks,
Balthasar
I am playing with WinAVR (20100110) and trying to recompile your AVR LCD handler (main.c, lcd.c). You know, I want to make sure I can repro the whole stuff before I start with the project. I am going to reburn my AVR programmer's AVR as well.
So I left everything on default in WinAVR, opened lcd.c and called a "make all" command from the menu. Apart from the fact I got 13 warnings on signed/unsigned char array type mismatches (IMHO not a real problem), the resulting .hex file differs on 300+ positions (I checked it with frhed).
What do you think the reason for the differences could be? Since I am using your makefile, I can only think of compiler options or maybe you were using an older version of WinAVR. Any idea?
Thanks,
Balthasar