Build ESPEasy on PlatformIO with servo motor plugin for Esp32

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
selorbis
New user
Posts: 4
Joined: 17 Jan 2019, 00:56

Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#1 Post by selorbis » 06 Apr 2020, 17:38

Hi,

I try to build the sources on platformIO for esp32 but I failed. Have anyone some link or documentation for doing that.
In case I succeed, can I add servo motor library or plugin in the final binary ?

Thanks for your help.

For information, I succeed to flash a lolin32 with the binary include in the release package with this way:
https://www.letscontrolit.com/forum/vie ... 476#p43706

selorbis
New user
Posts: 4
Joined: 17 Jan 2019, 00:56

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#2 Post by selorbis » 15 May 2020, 12:18

Hello,

The flashing process with the previous link give some random behaviour.
it doesn't always work.

Have you actually a recommandation for sucessfully flashing esp32 board (nodemcu, lolin32 ...) with the new release espeasy mega ?

Actually the only one solution I know is this one (but the the release is very old) :
https://www.letscontrolit.com/wiki/index.php/ESPEasy32

Thanks.

martinus
Normal user
Posts: 129
Joined: 15 Feb 2020, 16:57

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#3 Post by martinus » 15 May 2020, 14:58

Still using Arduino IDE which seems easier to get running IMHO.
For the servo, i've added a library that was specifically build for ESP32:
https://www.arduinolibraries.info/libraries/esp32-servo
It uses the hardware driver circuit from the ESP32.
AFAIK the standard servo lib is not included with the ESP32 core framework

selorbis
New user
Posts: 4
Joined: 17 Jan 2019, 00:56

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#4 Post by selorbis » 15 May 2020, 15:07

Thanks for your answer.

What I understand, you get the sources from the last package e.g: https://github.com/letscontrolit/ESPEasy/releases
And you add the servo lib inside (with Arduino IDE)
And you build all with Arduino IDE ? Right ?
Have you a little process with steps (or some link) to help me for flash the esp32 board from the espeasy mega sources with arduino IDE ?
Because what I see, it's tutorial for esp8266 :
https://www.letscontrolit.com/wiki/inde ... are_Upload
https://www.letscontrolit.com/wiki/inde ... platformio

I've tried and follow instruction in this links but it definively don't works.

Thanks a lot

martinus
Normal user
Posts: 129
Joined: 15 Feb 2020, 16:57

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#5 Post by martinus » 16 May 2020, 12:49

I use a "Portable" Arduino setup that keeps all related stuff in a single "Portable" folder. I use one for ESP8266, one for ESP32. This may not really be required but this is how i've worked from the early start. The portable approach makes it easy to switch between several of my desktops/laptops/VM's.
Absolutely nothing to install this way and no global conflicting settings or libraries.

But my current setups are to much customized to be useful for generic use.

It could be an idea to create a working portable setup and provide it as a zip download on one of the Letscontrolit servers.

martinus
Normal user
Posts: 129
Joined: 15 Feb 2020, 16:57

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

#6 Post by martinus » 16 May 2020, 14:39

Can you try this completely preconfigured portable Arduino IDE:
http://www.letscontrolit.com/downloads/ ... Easy32.zip

Just download, unzip, launch Arduino.exe and open recent "ESPEasy" and see if it compiles.
(well if you're on windows...)

The zipfile has everything included:
* the Arduino IDE
* the ESP32 core files
* the ESPEasy 20020410 release with all the libraries
* setup for custom config (using custom.h file). Defaults to P001 and C001 plugins only. Make your own selections here
* added custom ESP partitions file and boards.txt for Wemos LOLIN32

For your case, i also included and enabled servo support for ESP32.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 33 guests