Go Down

Topic: Makefiles (Read 442 times) previous topic - next topic

Rich_G

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.



Rich_G

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

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


Oliver Keller

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

Go Up