Compile EspEasy with Arduino (Pro) IDE still possible?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
moelski
Normal user
Posts: 161
Joined: 31 Aug 2016, 06:33
Location: Germany - NRW
Contact:

Compile EspEasy with Arduino (Pro) IDE still possible?

#1 Post by moelski » 07 Jul 2020, 05:32

Hi !

The last two days I spend some hours to get ESPEasy compiled in Arduino and Arduino Pro IDE. But I had no luck ...
So a simple question first ... Is it still possible to use those IDE's or can it only be done woth VSCode / PlatformIO?

My steps were as followed:
* Copy content from lib folder to the libraries folder.
* To be Arduino conform I placed the content of the src folder into a new folder called ESPEasy
* Install ESP8266 and ESP32 Cores (I used the latest available)
* Hit the compile button ...

But it ends in errors like this one:

Code: Select all

_P044_P1WifiGateway:43:13: error: expected constructor, destructor, or type conversion before ';' token
   P044_Task() {
             ^
And there are a lot more errors ...

So maybe someone can give some advice ...

Dominik
regards
Dominik

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Compile EspEasy with Arduino (Pro) IDE still possible?

#2 Post by TD-er » 07 Jul 2020, 20:17

See the pending fix I have prepared to make it compile again in Arduino IDE: https://github.com/letscontrolit/ESPEasy/pull/3152
The reason I have not yet merged it, is that I got a report of nodes flashed with these fixes may behave badly. (no reboot on their own)

So please let me know if you also see strange behavior (half loading pages, freezing node) with these changes and compiled in Arduino IDE.

User avatar
moelski
Normal user
Posts: 161
Joined: 31 Aug 2016, 06:33
Location: Germany - NRW
Contact:

Re: Compile EspEasy with Arduino (Pro) IDE still possible?

#3 Post by moelski » 08 Jul 2020, 08:44

Hi !

Ok I can compile it again if I use the latest GIT revision. Thx for that fix !

Get it compiled for the ESP32 seems to be a little more complicated :roll:
I had issues with MD5Builder, Servo Lib and BH1750 ...
But I think ESP32 is in general another story ;)
btw ... Got it compiled after some tweaking und plugin disabeling ...

regards
Dominik
regards
Dominik

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests