Open GoogleCodeExporter opened 9 years ago
Hi Bowen,
sorry to hear this. I don't have a Windows machine, so I can't reproduce your
problem. The warnings are well-known (to me) and can be safely ignored,
although this
is not good programming style. The errors regarding PB2 are serious, though.
This
looks to me as if the avr-gcc definitions of the ATMega168p are not loaded.
Lacking any experience with WinAVR, I don't really know how to solve this. I
noticed,
however, that the register constants defined in "iom168p.h" contains
#define PORTB2 2
so probably the names have changed from the ATMega168 to the ATMega168p. Again,
I
can't reproduce this, but could you try changing PB2 to PORTB2? So, either you
need
to patch the source or you change to the ATMega168.
HTH,
-Mathias
Original comment by dalhei...@gmail.com
on 31 Jul 2009 at 5:44
Original issue reported on code.google.com by
bo...@bowenpratt.com
on 29 Jul 2009 at 1:02