๐Ÿ“ฃ๐Ÿ“ช ๐Ÿšš Adafruit will not be shipping USPS orders Monday October 14, 2019 ๐Ÿ—“. Expedited USPS orders placed after 11am ET ๐Ÿ•š Friday October 11 will go out Tuesday October 15 ๐Ÿ“ฃ๐Ÿ“ช๐Ÿšš
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.