Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Joe M
#42708 Hi,

I got ESPDuino ESP-13 and Arduino IDE 1.6.7.
I did the preferences, downloaded the board managers,
did the Tools > Board > Boards manager, downloaded the ESP v 2.0.0
then set the board Tools > ESPDuino (ESP13), and then
File > Examples > ESP8266 > Blink
and then clicked verify and got :

.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/Arduino.h:279:26: fatal error: pins_arduino.h: No such file or directory
#include "pins_arduino.h"
:(
Not sure what to do next for the ESPDuino to get Blink working.
Any help appreciated.
User avatar
By Joe M
#42771 [quote="xtal"]select ESP8266 Generic
You must set preferences under File then install the boardstuff

Additional Boards Manager URLs:
http://arduino.esp8266.com/staging/pack ... index.json
]

Thank you, just enough information to get going.
I added the board manager URL under File > Preferences > Additional Board Manager URL
Then I set Tools > Board to Generic ESP826, and then File > Examples > ESP8266 > Blink
Then changed the three instances of "BUILTIN_LED" to "16" without quotes,
and then clicked verify, and the pins_arduino.h error is gone.
Then I press flash button on the ESPDuino ESP-13 board, then while it is pressed,
I press Reset, and then release reset, and then release flash button.
That puts the ESPDuino into flash mode.
Clicke on the upload button on the IDE, and then after a short while
of displaying a long list of dots, it is ready, and showing the blink working.

Also working in a similar way was File > Examples > ESP8266Wifi > Wifiscan.
I ran the Tools > Serial Port and set the baud rate to 115200 and there in that window
is displayed the result of all the scans - about 8 Wifi access points from where I am :)