Closed micropet closed 6 years ago
Those changes in include path were to test the better "scan for dependencies" option of PlatformIO. But I guess they can be reverted since those scans did not give significant improvement on binary size.
And maybe we should have a discussion on the src directory. It keeps causing issues with Arduino IDE.
OK
What‘s about a simple symbolic link?
Maybe you should note down such peculiarities somewhere. Then the user knows and does not need to waste his time.
@micropet It wasn't intended to leave people with code that doesn't compile on a platform that I'm not using myself.
It should not be a reproach. But maybe you can test both platforms in the future.
I tried to just now, but on my laptop it took about 30 minutes to start the Arduino IDE. I really have no idea why, because it is an i7 with 500 GB SSD and 8 GB RAM.
Maybe I should try some Linux version on another computer.
So I did not test this one, but looked at the history of every file that had #include <..
and reverted that manually. Took about the same 30 minutes.
And then the Arduino IDE did not want to compile since the Junction I made was only to the ESPEasy dir and forgot the lib. And I did not want to wait another 30 minutes.
Oh, with me the IDE starts within a few seconds on all W10 computers. On the server 2016, the start takes about 30 seconds.
Mostly I work on Hyper-VM machines with W10 running on a Windows 2016 server. They are very fast.
I believe the official supported way to compile is with PlatformIO. Perhaps you would have less trouble with it?
I find PlatformIO very confusing. OVA updates often do not work that way. Arduino is much cleaner and faster.
I just measured: Arduino 1.8.5 takes 11 seconds to start and load all ESPEasy files. Compile time is 25 seconds.
The computer is a 4 year old I7 without SSD under W10
@micropet That's all well and good but methinks you missed the point of my post.
Good morning. After -finally- an good night's sleep, I think I know what's causing the enormous loading times of Arduino IDE. When creating a junction to the src directory, I made an error and created one to several levels below. Since I didn't know how to remove it (I'm more a Linux guy) I renamed it and there is still a loop when you do recursive search.
Will try again this evening.
Good morning.
I have the source file with me at / Arduino / ESPEasy-2018-03-28 / ESPEasy and the libraries under / Arduino / libraries Of course I have to copy them from the .zip File there before compiling.
@Budman1758 What is the Point?
Read the first sentence in my first post.
Everything OK. Thank you
It is the unchanged Mega version of today. Arduino Ide 1.8.5 The following error messages are displayed:
D:\arduino-1.8.3\meine\ESPEasy-mega-03-28 ori\ESPEasy\ESPEasy.ino:77:32: fatal error: define_plugin_sets.h: No such file or directory include
compilation terminated.
Fehler beim Kompilieren für das Board WeMos D1 R2 & mini.
If I change: include
on
include "define_plugin_sets.h"
then:
D:\TMP\arduino_modified_sketch_534075_P010_BH1750.ino:6:40: fatal error: ../lib/AS_BH1750/AS_BH1750.h: No such file or directory
include <../lib/AS_BH1750/AS_BH1750.h>