Linux compile bin file on console

I can compile bin sketch from console? Without the graphical shell of Arduino. Thanks.

I believe you can. Try the arduino-builder piece of software. I believe it handles all the build logic, at least from IDE 1.5+?

You don't mention if you use AVR or SAM core.

Although not answering directly your question, you might like to take a look at Eclipse IDE together with Arduino build tool chain, called sloeber if you have a dislike for Arduino IDE.
http://eclipse.baeyens.it/

From there you will see how it is done and you need to know to link in any include files as well as libraries.

I have only used Eclipse for many years now and never use Arduino IDE because it allows me to work on many different projects in different languages all at once. It has taken out the frustration of doing Arduino based projects for me. :slight_smile:


Paul - VK7KPA

I use a Python program to compile and upload my Arduino programs by calling the command-line Arduino IDE.

...R