Building updated avr-gcc so ATmega165 works
Thursday, January 19th, 2006I finally figured out that some issues I was having with building software for my ATmega165’s had to do with my cruddy hack to get avr-gcc to compile for them without warnings. I made it so that instead of using ‘-mmcu=atmega165′ I used ‘-mmcu=avr5 -D__AVR_ATmega165__’ when compiling. It works — up to a point.
For me that point was reached when I started modularizing my code and trying to turn it into a real project instead of just lame test code.
(more…)