Arduino Dev without Arduino IDE using makefiles

rosimildo
Posts: 13
Joined: Fri Nov 11, 2016 7:20 pm

Arduino Dev without Arduino IDE using makefiles

Postby rosimildo » Fri Nov 18, 2016 2:37 am

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!

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Arduino Dev without Arduino IDE using makefiles

Postby ESP_Angus » Fri Nov 18, 2016 6:51 am

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

lakid74
Posts: 10
Joined: Mon Nov 16, 2015 8:53 pm

Re: Arduino Dev without Arduino IDE using makefiles

Postby lakid74 » Fri Nov 18, 2016 12:02 pm

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

rosimildo
Posts: 13
Joined: Fri Nov 11, 2016 7:20 pm

Re: Arduino Dev without Arduino IDE using makefiles

Postby rosimildo » Wed Nov 23, 2016 6:01 pm

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.

User avatar
ESP_Me-no-dev
Posts: 80
Joined: Mon Jan 04, 2016 6:30 pm

Re: Arduino Dev without Arduino IDE using makefiles

Postby ESP_Me-no-dev » Fri Dec 02, 2016 2:09 pm

Do not symlink it.

rosimildo
Posts: 13
Joined: Fri Nov 11, 2016 7:20 pm

Re: Arduino Dev without Arduino IDE using makefiles

Postby rosimildo » Fri Dec 02, 2016 2:18 pm

Yes, thanks

Without the SysLink it works!

Thanks to all for the help!

Who is online

Users browsing this forum: No registered users and 33 guests