Pages: [1]   Go Down
Author Topic: Makefiles  (Read 413 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

What is the sequence of commands I'd type at a shell to compile a sketch and upload it to an Arduino? / Is there a way to generate code for the Arduino using GNU tools, e.g. to have a Makefile rather than the sketch window?

I'm interested in using a couple of tools that read a source file and generate C code as output, which is then fed into the C compiler.

e.g. using flex and bison to generate a parser.


Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks like the answer to that question is answered here:

http://arduino.cc/en/Hacking/CommandLine

Logged

Augsburg/Munich, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 68
"Stay hungry. Stay foolish."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can also just use the makefile which resides in every standard IDE install directory unter Arduinio-0012/hardware/cores/arduino
Logged

Pages: [1]   Go Up
Jump to: