0

Major Mac N00bage
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Major Mac N00bage

by belril on Fri Oct 10, 2008 1:01 pm

Howdy all,

As part of a robotics class at my school, we're programming ATMega168s using an Atmel AVRISP mkII programmer. I've downloaded and installed AVRMacPack, and it seems to work fine. My question is, how do I set up the makefile created by avr-project? Also, any other tips and tricks would be appreciated.

Thanks,
Belril
belril
 
Posts: 2
Joined: Fri Oct 10, 2008 12:54 pm

Re: Major Mac N00bage

by koolkat on Fri Oct 10, 2008 6:53 pm

I usually just use an old makefile and just change the things that need to be changed...
koolkat
 
Posts: 358
Joined: Tue May 06, 2008 8:42 pm
Location: Missouri

Re: Major Mac N00bage

by belril on Fri Oct 10, 2008 10:16 pm

Well, that's what I was planning on doing, but I'm just befuddled by what I should change, what I shouldn't, and what I should change things to.

Here's a link to a copy of the makefile i'm working on. Any critiques, suggestions, etc., would be appreciated.

Thanks!
belril
 
Posts: 2
Joined: Fri Oct 10, 2008 12:54 pm

Re: Major Mac N00bage

by koolkat on Sat Oct 11, 2008 4:13 pm

I would just change this part:

DEVICE = atmega168
CLOCK = 8000000


change it to what ever youre using.
koolkat
 
Posts: 358
Joined: Tue May 06, 2008 8:42 pm
Location: Missouri

Please be positive and constructive with your questions and comments.