Pages: [1]   Go Down
Author Topic: Using MAKE instead of the IDE  (Read 491 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 74
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there a tutorial or page that documents using Make (I know how to build makefiles etc), in lieu of the IDE.   I'd still like to use the bootloader functions to download sketches from the makefile, but if anyone has a sample makefile to share it would be appreciated
Logged

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

did you take a look at here (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1265576847)?
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 74
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the pointer.   This helped a lot,   but I'm not sure what values to put in for MCU and F_CPU.  I'm using a MEGA board so I think MCU=atmega1280 is correct, but what about the F_CPU make variable.  I think that a speed of 16000000 is correct for 16Mhz per the datasheed for the Mega.
Logged

Pages: [1]   Go Up
Jump to: