Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By JohnSL
#16420 I'm a little confused as to what combination of tools I should be using. There is 1.6.1 version on GitHub that includes the entire Arduino IDE. Then there is the full 1.6.3 Arduino IDE with the add-in from sandeepmistry. So here are my questions:

  • Which version of the IDE is the best one to use with the ESP8266?
  • Which version of sandeepmisry's plug-in should I be using?

I have some very basic code that uses WiFi.begin to connect to my network. With version 1.6.1 it works perfectly. However, when I run this same code with IDE 1.6.3 and sandeepmistry version 0.0.4, I get the following output, and the status never changes o WL_CONNECTED:

Code: Select allConnecting...
sl
scandone
usl
sul 7 0
..reconnect
rm match
pm close 7 0 0/6080468
scandone
add 0
aid 5
pm open phy_2,type:2 0 0

connected with xxxx, channel 1
dhcp client start...
cnt
.........

Here is the code that works with 1.6.1, but not with 1.6.3:

Code: Select all    Serial.println("Connecting...");

    WiFi.begin(ssid, password);

    // Wait for connection
    while (WiFi.status() != WL_CONNECTED) {
        delay(500);
        Serial.print(".");
    }
    Serial.println("");
    Serial.print("Connected to ");
 

Thanks,
-- John
User avatar
By russmathis
#17154 I had to used 1.6.0
then uncheck (if checked) Upload using programmer.
Also had to change the board to uno/compile/then back to the Generic Esp8266
Then the compile worked OK.
This was with sandeepmisry's repo as of May 7 2015.
Good luck