AndrewJ wrote: ↑19 Mar 2017, 18:33
Hi, and thanks for all the good work! I really like ESPeasy and have it on several nodemcu modules. I'm now trying to install it on a Sonoff switch.
I'm running Windows 10 and most of my experience is with the Arduino IDE rather than platformio.
A couple of questions about the Arduino IDE tutorial, as it applies on windows 10 ...
- Is it a specific intention to use Arduino IDE v. 1.6.12? When I followed the link to the main software page, it shows 1.8.1 as the current version. I decided to go ahead with that one (I used the Windows installer option). It wanted to uninstall my previous version so I said yes to that.
- It then installed the IDE in c:\Program files (x86) in a folder named simply Arduino. I'm unsure if this is the folder to rename with P230 at the end and create the folder named Portable, or is it somewhere else?
Please could you clarify a bit? Thanks in advance.
Andrew.
Well, i'm not an expert and running Win7 but i'll try to answer your questions as good as possible.
At first: If you do a installer based installation you might run into problems when compiling old ESP-Sources (R14x)
or possibly sketches for other platforms - the configurations conflict, even if you make a second "portable" installation.
I've removed all stadard installations and made two independend portable installations, it works.
If you use the win-installer, the Arduino IDE is registered with windows - do not rename the "Arduino" folder, as this will cross the registering.
A regular installation with installer is not portable, the HowTo was written with a portable installation in mind.
i suppose you don't need a "portable" folder with that.
Install the ESP8266 Boards as described in the HowTo.
Download the source zip if you didn't already.
Unpack it to a folder of your choice on your harddisk.
Cupy the libs fromt he source to the "c:\programs(x86)\arduino\libraries" folder.
Rename the "src" folder to "ESPEasy" (Watch capitals!)
Start the IDE and open the "ESPEasy.ino" file.
Scroll down in the source code and make a choice which plugin set should be installed:
Code: Select all
/build all the normal stable plugins
//#define PLUGIN_BUILD_NORMAL
//build all plugins that are in test stadium
#define PLUGIN_BUILD_TESTING
//build all plugins that still are being developed and are broken or incomplete
//#define PLUGIN_BUILD_DEV
I selected the "Testing" built by removing the "//". Just uncomment only one of the choices.
Select your board or ESP-Type with the IDE's board manager.
Set the SPIFFS size as described in the HowTo (1 MB for the NodeMCU with ESP12E)
Now you may start compilation.
Use the "Ctrl + Alt + S" (export compiled binary) to create a bin file.
The .bin file is created in the same folder the ESPEasy.ino is located.
Due to my experience flashing with the Arduino IDE results in failing boot of the ESP.
I've used the esptool from the source files successfully.
Anyways, this discussion should be moved to the ESPMega board of the forum as it is not staff related.
Hope that helps.
Regards
Shardan