Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Subhajit Das
#48362
rolcsar wrote:I'm trying to use a Raspbrry Pi model B to program an esp8266 01, using Arduino IDE 1.6.5.
After succesfully installing the IDE an the esp8266 module, I didn't get the Blink example compiled. These were the errors:
Code: Select allArduino: 1.6.5 (Linux), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS)"

/home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/pi/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-947-g39819f0/tools/sdk//include -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I/home/pi/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-947-g39819f0/cores/esp8266 -I/home/pi/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-947-g39819f0/variants/generic /tmp/build625978179943831622.tmp/sketch_oct21a.cpp -o /tmp/build625978179943831622.tmp/sketch_oct21a.cpp.o
/home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: 1: /home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: ELF¡Ÿ4lÊ: not found
/home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: 2: /home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: 4: not found
/home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: 1: /home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++: Syntax error: word unexpected (expecting ")")
/home/pi/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ returned 2
Error compiling.

I don't know if this is really a bug or if I am missing something, but can't find nothing on the internet.

PS: before the first found word at the code above, there were some strange characters that could not be pasted.
PS 2: I am using debian Jessie

Dude there is official Arduino 1.6.9 Arm Linux edition. Just download it and, follow standard instruction for ESP8266 board install.
User avatar
By Subhajit Das
#48432
martinayotte wrote:Even if "Arduino 1.6.9 Arm Linux edition" exist, that doesn't means that "xtensa-lx106-elf-gcc" for ARM exist. It need to be cross-compiled.

I personally tested and it works. (Compilation, upload etc.) But can not be installed in normal user mode, because it can not create the folders required. So go, superuser.
I guess someone did compile it for arm.