Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ardhuru
#14158 Hi guys,

I copied the whole ESP8266-master folder into my Arduino folder (also tried keeping a copy in my documents\hardware), but just can seem to get it working.

I see the generic ESP8266 board entry, as also the ESPTOOL in programmers, but every time I compile I get an error:












C:\Program Files\Arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -IC:\Program Files\Arduino/hardware/tools/esp8266/sdk//include -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=10603 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -ID:\Users\Anand\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266 -ID:\Users\Anand\Documents\Arduino\hardware\esp8266com\esp8266\variants\esp01 C:\Users\Anand\AppData\Local\Temp\build7786657442212700956.tmp\sketch_apr11a.cpp -o C:\Users\Anand\AppData\Local\Temp\build7786657442212700956.tmp\sketch_apr11a.cpp.o
Cannot run program "C:\Program Files\Arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++": CreateProcess error=2, The system cannot find the file specified

After much browsing, I suspect this is because I'm running this on a Windows 7 32 bit system, and the only way to get it to work is by switching over to a 64 bit machine.

Am I right in my analysis? Or are there ways to make this work on a 32 bit system?

Any advive would be highly appreciated!
User avatar
By Slider2732
#14183 Same thing here, exactly the same error.
But the difference is, that i'm using Lubuntu Linux.
A few tries later, with all manner of different searches and following message board posts, it still does the same thing...shows the ESP8266 generic to select, shows Esptool, but errors out at compile with the file not found.

I just simply put it all to one side and is why i'm here, posting :D

Upshot being, I would think your error is more general than O/S troubles.
User avatar
By Peter Peters
#14429
igrr wrote:Currently there are two supported ways to enter programming mode:
The first one is RTS+DTR: RTS controls RESET or CH_PD, DTR controls GPIO0 — this one will be enabled by default in the next release.
The second one is DTR+TXD (see schematic posted in this thread: https://github.com/esp8266/Arduino/issues/22).
If you have something else in mind, please open an issue against esptool-ck and I'll implement that as well.


I noticed the schematic shown holds no values for any of the components. It would be nice to have that as well...