Page 1 of 1

Arduino Dev without Arduino IDE using makefiles

Posted: Fri Nov 18, 2016 2:37 am
by rosimildo
I am wondering if someone already developed a set of makes to allow that happen.

I really don't want to use the Arduino IDE, and I am wondering if I there is a set of makefiles that could enable command line development.

THanks!

Re: Arduino Dev without Arduino IDE using makefiles

Posted: Fri Nov 18, 2016 6:51 am
by ESP_Angus
It's not quite the same thing, but the Arduino core for ESP32 libraries is available as a component in esp-idf.

So if you add the arduino-esp32 repository a "components" directory inside an esp-idf project, you can use Arduino functions and code inside your esp-idf project (built with make.)

http://github.com/espressif/esp-idf
https://github.com/espressif/arduino-esp32

Angus

Re: Arduino Dev without Arduino IDE using makefiles

Posted: Fri Nov 18, 2016 12:02 pm
by lakid74
Not sure if this is exactly what you are after but you can use the excellent http://eclipse.baeyens.it/ Eclipse Arduino plugin. It will allow you to write code for the esp32, using arduino cores, but in a modern IDE.
Edit:
Why wouldn't this work ?
http://playground.arduino.cc/Learning/CommandLine
Install the cores via the usual methods and the use platformio or the other methods on that page

Re: Arduino Dev without Arduino IDE using makefiles

Posted: Wed Nov 23, 2016 6:01 pm
by rosimildo
Thanks to all for the answers.

I like the approach of using Arduino wrappers as a "component", since it does not add any extra dependency, and it seems inline with everything else.

But, I downloaded bot gits, and inside esp-idf "components" folder, I added a syslink to the "arduino-esp32", but something is not working correctly.

The "clean" target of make seems to work, but I can't build. Nothing happpens.

ESP-IDF/components/arduino
^---------- syslink to arduino-esp32

Any help on what I may be doing wrong, I would appreciate.

Rosimildo.

Re: Arduino Dev without Arduino IDE using makefiles

Posted: Fri Dec 02, 2016 2:09 pm
by ESP_Me-no-dev
Do not symlink it.

Re: Arduino Dev without Arduino IDE using makefiles

Posted: Fri Dec 02, 2016 2:18 pm
by rosimildo
Yes, thanks

Without the SysLink it works!

Thanks to all for the help!