-->
Page 1 of 3

Installation and usage via CLI not IDE

PostPosted: Sat Sep 05, 2015 5:59 pm
by tve
Are there some "getting started" instructions somewhere for building the firmware and sketches via the command line on linux? E.g. a Makefile approach. I do not want the Arduino IDE in any shape or form... I have esp_open_sdk and native esp8266 projects, so I'm very comfortable with those pieces. Thanks!

Re: Installation and usage via CLI not IDE

PostPosted: Mon Sep 07, 2015 11:55 am
by webtop
For CLI building and uploading of both sketches (hex files) and firmware, I use avrdude. You can find info on it here: http://www.nongnu.org/avrdude/.

It is the same tool used by the Arduino IDE to do what you do in the GUI, in the background.
I create a lot of projects where I program Atmel chips directly, so I don't have to have an Arduino board.

Hope that helps,
Paul

Re: Installation and usage via CLI not IDE

PostPosted: Mon Sep 07, 2015 5:16 pm
by martinayotte
I think @tve wish to have Makefile to compile Arduino sketches for ESP, not for Atmel AVRs.
I remember seeing https://travis-ci.org/sudar/Arduino-Makefile, "travis-ci" is an automation of build process that IGRR is actually using for testing PR before merges, I didn't used it yet, but I will.
I presume IGRR can give us more details on the pros & cons of this tool.
Here are also some other links that the README of the above gave me :
The GitHib of the above project itself : https://github.com/sudar/Arduino-Makefile
Some other project : https://github.com/ladislas/Bare-Arduino-Project

Re: Installation and usage via CLI not IDE

PostPosted: Wed Sep 09, 2015 12:58 am
by WaxyMouthfeel
I've been using Arturo for my arduino projects-- tried to get it working with this module but ran into problems.

https://github.com/scottdarch/Arturo