Xtensa lx106 elf g error createprocess no such file or directory

Error message on uploading sketch #692 Comments i have downloaded the Arduino1.6.5 ide and installed the esp8266 board but i can not find the esptool under the programmers and when i try uploading a sketch i get this error message. i am using windows 8.1 os. How can i get around the problem? «Arduino: […]

Содержание

  1. Error message on uploading sketch #692
  2. Comments
  3. esp8266 arduino ide download #688
  4. Comments
  5. Installing with Boards Manager
  6. Footer
  7. ESP8266 Урок 5. Настраиваем toolchain и пишем свою прошивку в IDE Eclipse. Часть 2

Error message on uploading sketch #692

i have downloaded the Arduino1.6.5 ide and installed the esp8266 board but i can not find the esptool under the programmers and when i try uploading a sketch i get this error message. i am using windows 8.1 os. How can i get around the problem?

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80 MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.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 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp -o C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp.o

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory
Error compiling.»

The text was updated successfully, but these errors were encountered:

In my installation I do not find a path like yours
«arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266tools».

So I gues you didn’t download arduino-1.6.5-r2-windows.exe from
https://www.arduino.cc/en/Main/Software as Windows Installer.

When executing the downloaded file, it will install in
«C:/Program files (x86)/Arduino».

The Arduino IDE buildes my workspace in
«C:/User/[username]/AppData/Roaming».

Using cygwin under Windows 8.1 «Arduino IDE for ESP8266» is installed in
my Cygwin user directory, this is:
«

It looks like, there is somthing wrong with your installation.

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80
MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

Источник

esp8266 arduino ide download #688

Hie, i am new to the arduino esp ide and from sources i expected to find a section where i can dowload a full installer for windows as seen in the image attached. please assist me on how i can get the windows installer for esp arduino ide

The text was updated successfully, but these errors were encountered:

Installing with Boards Manager

Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).

  • Install Arduino 1.6.5 from the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install esp8266 platform (and don’t forget to select your ESP8266 board from Tools > Board menu after installation).

, can tel-meIyou how i can get thecanthpakages updated? Remove and install again?

Sorry.
Can you tel-me how can i get thes pakages updated?
Remove and install again?
Tanks

i have downloaded the Arduino1.6.5 ide and installed the esp8266 board but i can not find the esptool under the programmers and when i try uploading a sketch i get this error message

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80 MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.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 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp -o C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp.o

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory
Error compiling.»

check if E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ is existing

yes the E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ exists

You can also download official arduino , put esp stable/staging json on preferences , go to board manager , install esp (at the end of list ) , and all ok (download this just libraries and overwrite arduino standard .. onewire)

I was wondering how do i do this comment out a part of the mac vendor list in data.h.

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

В предыдущей части урока мы подготовили все инструменты (тулчейн) для сборки прошивки из исходных файлов, создали проект и начали писать файл сценария Makefile, а также исходный код.

Будет тут у нас ещё небольшой подводный камень, но о нём потом. А пока нам хочется создать прошивку и залить её в наш контроллер.

Поэтому идём в Makefile и добавим там ещё одну команду

Здесь мы используем утилиту AR, которая в Linux используется для создания архива без сжатия, для того, чтобы соединить все объектные файлы в один архив. У нас пока только один объектный файл, поэтому мы собираем в архив только его.

После очередной сборки проекта у нас появится архивный файл в папке build

Следующий этап — линковка (или компоновка). На данном этапе мы создадим исполняемый файл формата elf

Здесь также используется ряд параметров, знать которые нам пока не столь важно, голову мы этим также забивать пока не будем. Скажу лишь про некоторые. Параметр -L показывает путь к статическим библиотекам, а параметр -T показывает скрипт, который используется для компоновки — agle.app.v6.ld. Также после параметра -o мы говорим сборщику о том, с каким именем мы формируем elf-файл.

Теперь скорей всего мы опять не сможем собрать наш проект и получим вот такие две ошибки

Данные ошибки говорят о том, что в наш код мы должны обязательно добавить функцию с именем user_rf_cal_sector_set.

Данная функция устанавливает размер сектора в разделе хранения калибровочных параметров wifi модуля. Хотя мы сейчас вроде и не пользуемся функционалом WiFi, но функция быть должна. Образец её есть практически во всех примерах SDK. Добавим такую функцию в наш main.c выше функции user_init

Теперь у нас всё прекрасно соберётся и на выходе мы получим исполняемый файл

С помощью следующей команды в нашем Makefile мы выведем в консоль размеры секций, используя при этом специальную утилиту из набора кросс-компилятора

Соберём проект и увидим размеры секций в консоли

С помощью следующей команды в Makefile, используя специально-обученную утилиту, мы сформируем два образа для заливки в наш контроллер, так как у нас не установлен на нём Linux и мы не можем там запустить elf-файл

Если мы теперь соберём наш проект, то мы уже получим два файла-образа для заливки в наш ESP

Ну вот мы и получили заветную прошивку! Из наименований файлов мы даже видим, с каких адресов их заливать в контроллер.

Только прежде чем прошивать наш ESP, если в нём до этого была нестандартная прошивка, то его надо подготовить. Да и если стандартная, то лучше тоже подготовить. Первым делом мы очистим полностью FLASH-память нашего контроллера. Как это делается, мы отлично знаем. А так как затем нам для подготовки к заливки нашей прошивки надо будет в контроллер ещё кое-что залить, то сначала откроем каталог со стандартной прошивкой в SDK

Запустим командную строку и очистим FLASH-память

Также, думаю, все мы знаем, что путь к утилите esptool для работы с ней, должен быть доступен.

Если вдруг она не будет работать из папки с утилитами, то можно подключить другую.

Теперь нам нужно прошить с определённого адреса файл с настройками по умолчанию в наш ESP

Мы использовали адрес 0x3FC000, так как у нас модуль с 4 мегабайтами FLASH-памяти.

Вот теперь наш модуль готов к прошиванию только что созданной нами прошивки, а если всего этого не проделать, то мы рискуем получить зацикливание.

Вернёмся в наш проект и прежде чем в Makefile добавлять ещё одну цель для заливки прошивки, давайте с помощью применения переменных немного сделаем наш сценарий поприличнее.

Для этого в самом верху добавим путь к нашему SDK

Затем добавим путь к заголовочным файлам SDK

Также добавим путь к кросс-компилятору

Также добавим переменные отдельно к каждой утилите кросскомпилятора

Добавим флаги для компиляции и линковки

Добавим также переменную для команды esptool с полным путём к ней

Применим наши переменные в цели All, также заэкранируем наши команды, чтобы не выводились в консоли, а выведем туда красивые читабельные команды вместо них. После этого цель All примет следующий вид

Попробуем собрать наш проект.

Вывод в консоли после этого будет иметь вот такой красивый вид

Теперь давайте добавим цель в Makefile для заливки наших образов в микроконтроллер

Чтобы эту цель запускать, мы добавим её в дерево целей. Для этого зайдём во вкладку Build Targe в левой панели и, используя контекстное меню нашего проекта, добавим новую цель с именем flash

Аналогичным образом добавим в дерево цель clean, такую цель в наш Makefile мы добавим чуть позже.

Наши цели появятся в дереве слева

Также они появятся и в основном дереве проекта в соответствующей ветке

Теперь данные цели будут выполняться по двойному щелчку мыши на них.

Давайте выполним цель flash.

У нас начнётся процесс заливки прошивки в контроллер

Только вот после заливки наша прошивка будет работать неправильно. Вот это и есть подводный камень, о котором я предупреждал.

Мигнув пару раз, светодиод погаснет не вовремя.

Всё дело в том, что в нашем ESP, впрочем, как и у практически каждого микроконтроллера, есть сторожевой таймер (watchdog), который по умолчанию включен, и, если его не выключить заранее при помощи функции system_soft_wdt_stop, что настоятельно не рекомендуется, то его хотя бы раз в полсекунды надо перезагружать при помощью функции SDK system_soft_wdt_feed. А иначе будет происходить то, что у нас и происходит. Не дождавшись перезагрузки таймера, контроллер перезагрузится сам.

Добавим данную функцию в бесконечном цикле в двух местах

Теперь всё нормально. Светодиод мигает регулярно

Также чтобы процесс заливки прошивки шел побыстрее, в команде в Makefile добавим ему скорости, используя для этого соответствующий параметр. Также при проблемах с автоопределением COM-порта при наличии нескольких можно жёстко указать требуемый (у меня 29-й, у вас может быть другой)

@$(ESPTOOL) -b 512800 -p COM29 write_flash —no-compress -ff 40m -fm dio -fs 32m 0x00000 build/app.out-0x00000.bin 0x10000 build/app.out-0x10000.bin

Также добавим ещё цель для очистки каталога от скомпилированных файлов.

Данный пункт мы можем запускать как двойным щелчком по добавленной цели, так и по пункту контекстного меню clean. Попробуем запустить данную цель

Всё прекрасно очистилось.

Итак, на данном занятии нам удалось создать свою программу для микроконтроллера и залить её в его FLASH-память. Пусть данная программа пока не обладает серьёзной функциональностью, это всё будет, но самое тяжёлое, можно считать, мы уже сделали. Мы создали тулчейн с SDK, кросскомпилятором и подключили всё это в IDE Eclipse, получив возможность писать программы для контроллера ESP8266. После этого нам станет проще писать дальнейшее ПО для работы с функционалом WiFi и работы с прочими модулями данного контроллера.

Всем спасибо за внимание!

Модуль ESP NodeMCU можно купить здесь: Модуль ESP NodeMCU

Различные модули ЕSP8266 можно приобрести здесь Модули ЕSP8266

Переходник USB to TTL можно приобрести здесь ftdi ft232rl

Многофункциональный переходник CJMCU FT232H USB к JTAG UART FIFO SPI I2C можно приобрести здесь ftdi ft232rl

Смотреть ВИДЕОУРОК (нажмите на картинку)

44 комментария на “ ESP8266 Урок 5. Настраиваем toolchain и пишем свою прошивку в IDE Eclipse. Часть 2 ”

Спасибо за урок.
у меня при пути D:/ESP8266/utils/esptool elf2image build/app.out
при питоне 3.8 не работало. В ком. строке -> (esptool version) , не видело этого файла. (esptool.py version) сработало.
В Makefile вместо (D:/ESP8266/utils/esptool elf2image build/app.out) запустилось в следующем варианте: esptool.py elf2image build/app.out
Если у кого либо такая проблема, надеюсь, что поможет этот комментарий.

c:/anaconda3/scripts/esptool.exe elf2image build/app.out
Для тех у кого не видится еспитул. Устанавливаем пайсон 3 как на видео а потом вставляем эту строчку и все соберется…

Точнее нужно указать путь к esptool.exe

У меня тоже не работало с этим ехе-файлом из урока. Совет помог.
Для тех, кто не понял, путь до файла будет выглядеть примерно так —
C:Usersmyuser1AppDataLocalProgramsPythonPython39Scriptsesptool.py.exe

Добрый день! Застопорился на этапе сборки файла elf из app_app.a
xtensa-lx106-elf-gcc: error: : No such file or directory
xtensa-lx106-elf-gcc: fatal error: no input files
compilation terminated.
Все пути верные…

Вопрос снят, разобрался.
Всё работает, спасибо!
Кстати, в esp-01 не задействовать gpio1. При сборке выдаёт ошибку. PERIPHS_IO_MUX_GPIO1_U нет такого макроса. Вывел gpio2 на внешний светодиод, работает.

Добрый день.
У меня та же проблема.
Как решили?, в чем ошибка?

Никто так и не ответил (

на случай, если актуально (и кому актуально) нужно наставить бэкслешей (собрать всё в ону строку).

При сборки проекта выскакивает ошибка
CreateProcess(NULL, C :/Eclipse_WorkSpase/ESP8266
Как исправить

подскажите где взять крос компилятор для linux. У меня есть сборка из open sdk но при компиляции возникает ошибка

CC src/user_main.o
AR build/app_app.a
LD build/app.out
/opt/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot find : No such file or directory
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target ‘all’ failed
make: *** [all] Error 1

При линковке возникает ошибка:
18:38:02 **** Incremental Build of configuration Debug for project BLINK ****
mingw32-make.exe -f F:/ESP8266/BLINK/BLINK/Makefile all
D:/ESP8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
-Iinc -ID:/ESP8266/ESP8266_NONOS_SDK-3.0/include
-ID:/ESP8266/ESP8266_NONOS_SDK-3.0/include/json
-g -O0 -std=gnu99 -Wpointer-arith -Wundef -Werror -Wl,
-EL -fno-inline-functions -nostdlib -mlongcalls
-mtext-section-literals -mno-serialize-volatile -D__ets__
-DICACHE_FLASH -c src/main.c -o src/main.o
D:/ESP8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar
cru build/app_app.a src/main.o
D:/ESP8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
-LD:/ESP8266/ESP8266_NONOS_SDK-3.0/lib
-TD:/ESP8266/ESP8266_NONOS_SDK-3.0/ld/eagle.app.v6.ld
-nostdlib -Wl,—no-check-sections -u call_user_start -Wl,
-static -Wl,—start-group -lc -lgcc -lphy -lpp -lnet80211
-llwip -lwpa -lmain -lcrypto build/app_app.a
-Wl,—end-group -o build/app.out
D:/ESP8266/ESP8266_NONOS_SDK-3.0/liblibmain.a(app_main.o): In function user_uart_wait_tx_fifo_empty’:
(.irom0.text+0x6a0): undefined reference to user_pre_init’
D:/ESP8266/ESP8266_NONOS_SDK-3.0/liblibmain.a(app_main.o): In function flash_data_check’:
(.irom0.text+0x714): undefined reference to user_pre_init’
collect2.exe: error: ld returned 1 exit status
F:/ESP8266/BLINK/BLINK/Makefile:4: recipe for target ‘all’ failed
mingw32-make.exe: *** [all] Error 1
«mingw32-make.exe -f F:/ESP8266/BLINK/BLINK/Makefile all» terminated with exit code 2. Build might be incomplete.
Как исправить?

Дык мы вроде с 2.2 работаем, а у Вас 3.0

Спасибо. Все заработало.

после плясок с бубном все таки получилось добиться устойчивой компиляции проекта. но после заливки в ESP8266 тот постоянно перезагружается. на скорости 74880 в терминал постоянно шлет
load 0x40100000, len 25264, room 0
tail 0
chksum 0x87
csum 0x87

esptool erase_flash естественно делал. может кто сталкивался или есть какие идеи? Модeль рабочий, АТ команды понимает, LUA скрипты понимает (естественно при залитой прошивке NodeMCU v3)

Проблема решена. Все проблемы из-за невнимательности: забыл прошить esp_init_data_default_v05.bin после очистки

Источник

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account


Closed

nkostoe opened this issue

Aug 15, 2015

· 5 comments


Closed

Error message on uploading sketch

#692

nkostoe opened this issue

Aug 15, 2015

· 5 comments

Comments

@nkostoe

i have downloaded the Arduino1.6.5 ide and installed the esp8266 board but i can not find the esptool under the programmers and when i try uploading a sketch i get this error message. i am using windows 8.1 os. How can i get around the problem?

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80 MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.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 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric C:Users21FB2E1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp -o C:Users21FB2E1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp.o

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory
Error compiling.»

@Juppit

In my installation I do not find a path like yours
«arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266tools».

So I gues you didn’t download arduino-1.6.5-r2-windows.exe from
https://www.arduino.cc/en/Main/Software as Windows Installer.

When executing the downloaded file, it will install in
«C:/Program files (x86)/Arduino».

The Arduino IDE buildes my workspace in
«C:/User/[username]/AppData/Roaming».

Using cygwin under Windows 8.1 «Arduino IDE for ESP8266» is installed in
my Cygwin user directory, this is:
«~/Arduino/».

It looks like, there is somthing wrong with your installation.

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80
MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++

You are using Windows 8.1, not Windows 7?

@nkostoe

@nkostoe

the thing is i am running the arduino ide from my flash, can that be the problem?

@Links2004

@Rishi159

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory
Also, the json file linked is possibly expired or unavailable because when you paste it in preferences it shows unable to download kinda message

Topic: Arduino IDE not compiling with OAK board selected  (Read 9140 times)

I have successfully added my two Oaks on to the Particle.io and can see them connected to my Wifi on both the PC dash board and the Android Particle app.  Pleased about this!!
I wanted to up load a simple blink sketch just to get me off the ground and comfortable with the programming process.
I couldn’t seem to make the Particle IDE programming environment work (even the simplest sketch wouldn’t compile) so i thought i would try getting the Arduino IDE to compile and upload the Sketch as this is what I am more used to.
I immediately came up against an obstacle in that the Arduino compiler isn’t happy with some aspect of the access permissions that the new Oak board has introduced. See the error that is kicked up when i perform a verify —  The xtensa-lx106-elf-g++ object seems to be causing the issue…..

Error form Arduino IDE Verify:-

Arduino: 1.6.5 (Windows 7), Board: «Oak by Digistump, 80 MHz, Particle OTA, OAK (4M/1M SPIFFS), Single — 1MB (Fullsize)»
Build options changed, rebuilding all
C:UsersUser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:UsersUser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3/tools/sdk/include -c -O2 -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_OAK -DARDUINO_ARCH_OAK -DESP8266 -IC:UsersUser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3coresoak -IC:UsersUser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3variantsoak C:UsersUSER~1.NAMEAppDataLocalTempbuild2014624590134223423.tmpBlink.cpp -o C:UsersUSER~1.NAMEAppDataLocalTempbuild2014624590134223423.tmpBlink.cpp.o 
Cannot run program «C:UsersUser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2binxtensa-lx106-elf-g++» (in directory «.»): CreateProcess error=5, Access is denied.

Any suggestions ideas much appreciated.

Cheers

Dan


Logged


Hi Dan,

Firstly, the Particle IDE is not supported for programming Oaks yet… it is used for OTA updates, programming and logging, but not for actual code compiling, etc. That will probably be enabled/made available shortly after the firmware makes it out of beta to version 1.

As far as the compile errors… it looks like it may be a file permission issue — as error 5 is usually indicates that  the file is not executable, or that it is not accessible. If it is file permission errors, you may be able to quickly find out by running the Arduino IDE as an administrator… (right click on the Arduino IDE icon and ‘Run as Administrator’). See if a simple blink sketch compiles then.

It may be be worth removing the board through the board manager and installing it again if that doesn’t get you anywhere (when you are running the Arduino IDE as normal again) just in case something went amiss when installing the support files.

Hope that helps,
Pete


Logged


Hi Pete,

Firstly Thanks for the reply.

I took your advice and removed all the digistump packages from the

C:UsersUser.nameAppDataRoamingArduino15packagesdigistump

Folder.

I then restarted the the Arduino IDE and then reinstalled the Digistump Oak Board.

I then tried to compile the code again.

Good news is that i no longer get an access denied but the xtensa-lx106-elf-g++ module is still causing an issue — see the error from the Arduino IDE:-

Arduino: 1.6.5 (Windows 7), Board: «Oak by Digistump, 80 MHz, Particle OTA, OAK (4M/1M SPIFFS), Single — 1MB (Fullsize)»

C:Usersuser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:Usersuser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3/tools/sdk/include -c -O2 -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_OAK -DARDUINO_ARCH_OAK -DESP8266 -IC:Usersuser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3coresoak -IC:Usersuser.nameAppDataRoamingArduino15packagesdigistumphardwareoak.9.3variantsoak C:Usersuser~1.nameAppDataLocalTempbuild187285779461581532.tmpsketch_feb23a.cpp -o C:Usersuser~1.nameAppDataLocalTempbuild187285779461581532.tmpsketch_feb23a.cpp.o

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory

Error compiling.

xtensa-lx106-elf-g++ is definately present in the following folder

C:Usersuser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2xtensa-lx106-elfbing++.exe

Any further thoughts?

Cheers

Dan


Logged


Ok, so a step in the right direction then?  :D

From the command prompt, can you try running this exact command and seeing what response you get?

C:Usersuser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++
You should get the following message if it runs:

xtensa-lx106-elf-g++: fatal error: no input files
compilation terminated.

Then try running this one (same as last time, but with double quotes surrounding the command):

"C:Usersuser.nameAppDataRoamingArduino15packagesdigistumptoolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++"
If that runs, but the first one didn’t, try upgrading your Arduino IDE to 1.6.7 (as I noticed you’re running 1.6.5). There were quite a few changes to the build system in 1.6.6 & 1.6.7, and quotes surrounding the compile commands was one of them, which would resolve issues related to spaces and certain characters in the file paths. You may need to install the Oak board support again when you upgrade, as 1.6.7 also defaults to installing board packages in a different location.


Logged


Hi Pete,

As a test i installed the 1.6.7 Arduino IDE on a new «fresh» computer, installed the Oak board, and ran the OakCLI in order to generate the config.json file

Which it put in:-
C:Usersuser.nameAppDataRoamingoakconfig.json

I then compiled and uploaded a new sketch ( a more complicated blink program to test the upload)

The IDE came back with

» sending File to Cloud, to flash device……
Device flashing started sucessfully.

Bingo…… :)

Unfortunately my Oak board is plugged in at home some 30km away so i will have to check it is blinking differently when i get in…. fingers crossed

As far as my original problem goes, i updated the the Arduino IDE to 1.6.7 on my laptop ( this is the machinre which is giving me the issue. it is a i5 Windows 7 OS same as the fresh machine which i had no problems with ) after completetly deleting the 1.6.5 install and all the associated C:Usersuser.nameAppData*.* stuff.

I still get the error   :(


xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory

Exit status 1
Error compiling.

What i did notice is that the OakCLI configuration hadn’t created the folder which tell the complier which Oak board to use.

C:Usersuser.nameAppDataRoamingoakconfig.json

Running the oak.exe now briefly pops up with a command prompt is says «No devices available» and then shuts down.

I have tried copying the config.json file into the same location but still no joy.

i wonder if this is causing the problem with the xtensa-lx106-elf-g++ or if is another issue or if my machine is in compatible with the xtensa-lx106-elf-g++ stuff

Cheers

Dan


Logged


lol…l just a bit hard to check… you mean you didn’t set up a webcamera to watch it blink from 30km away?

One way to check is to use Particle.publish events — such as

bool success;
success = Particle.publish("setup()");
if (!success) {
  success = Particle.publish("setup()");
}

The if !sucess is simply to give it a second chance to publish the message just incase the first one didn’t send. I put that in the setup function to see if it has started, and also the loop if there is a long enough delay to warrant more messages there, and will be doing so again shortly with a temp sensor Oak. You can then look at the logs on the Particle.io cloud, and should see messages logged if it upload and runs the sketch. Also, you should get a message logged on Particle.io to indicate that programming has started, and has completed, and the Oak disconnecting and reconnecting to run the new user sketch (as long as you leave the log view open — it doesn’t seem to save events, only those that have been captured whilst you have the log view open).

As far as your error, all I can think of is a weird test — try copying your config.json file to the following folder, and try running the Oak CLI command again to see if it changes its tune…

C:Usersuser.nameAppDataLocaloakconfig.json


Logged


Error message on uploading sketch #692

Comments

nkostoe commented Aug 15, 2015

i have downloaded the Arduino1.6.5 ide and installed the esp8266 board but i can not find the esptool under the programmers and when i try uploading a sketch i get this error message. i am using windows 8.1 os. How can i get around the problem?

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80 MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

E:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.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 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266 -IE:arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp -o C:Users21FB2E 1AppDataLocalTempbuild670289431897611190.tmpESP_Blink.cpp.o

xtensa-lx106-elf-g++: error: CreateProcess: No such file or directory
Error compiling.»

The text was updated successfully, but these errors were encountered:

Juppit commented Aug 15, 2015

In my installation I do not find a path like yours
«arduino-1.6.5-r2-windowsarduino-1.6.5-r2portablepackagesesp8266tools».

So I gues you didn’t download arduino-1.6.5-r2-windows.exe from
https://www.arduino.cc/en/Main/Software as Windows Installer.

When executing the downloaded file, it will install in
«C:/Program files (x86)/Arduino».

The Arduino IDE buildes my workspace in
«C:/User/[username]/AppData/Roaming».

Using cygwin under Windows 8.1 «Arduino IDE for ESP8266» is installed in
my Cygwin user directory, this is:
«

It looks like, there is somthing wrong with your installation.

«Arduino: 1.6.5 (Windows 7), Board: «Generic ESP8266 Module, Serial, 80
MHz, 80MHz, DIO, 115200, 2M (1M SPIFFS)»

Источник

ESP8266 Community Forum

Explore. Chat. Share.

Information

The requested topic does not exist.

ESP-01 3.7V Battery Voltage Dropping Need help!

I have many projects running off single cell lith[…]

connecting RC522 VCC to VIN of ESP8266

Yes, ESP8266 is supplying 3V. But from the tutoria[…]

Thonny IDE, no connection to ESP8266

From this thread I assume that WeMos D1 mini is no[…]

esp8226 webserver reset on power restart

I normally use a 220uF 6.3V reservoir. Bigger is n[…]

Bare min to get the esp8266 ESP 01 running.

Have a look at this :- Check that your ESP8266 is[…]

Different ADC readings if using deep sleep WAKE_RF_DISABLED

Does anyone know what’s going on here, with this i[…]

is possible Esp8266ex boot from HSPI ?

The TI LP2985 3.3V regulator on a real Uno is only[…]

Giving me code6 whenever connecting to WI-FI

whenever i am connecting my esp8266 from my router[…]

D1 Mini Pro ESP8266 based not recognized in W 11

You can check this thread: https://forum.arduino.c[…]

Esp01 relay control

You may get some clues from here: https://communit[…]

ESP-12F only as Wi-Fi module

However, I have to ask the obvious question; why […]

How install plugins for Arduino IDE 2.x

I incorporate this in my baseSupport library whi[…]

Roll Back Firmware After OTA Update

I don’t use the roll back methodology myself as I […]

How to measure duty cycle, transmit it and replicate it

I’ve been looking for a solution for the last week[…]

newb question

It’s strongly recommended that expensive electroni[…]

execute run-time generated asm code

About the pin change frequency, yes that is correc[…]

Raspberry Pi Access Point with STATIC IP for ESp8266+MQTT Co

I was able to achieve this using RPi as a broker w[…]

ESP-01F and dc motor control

There are several resources online that provide co[…]

3 esp8266 wemos d1 esptool.py chip_id no response

On both a raspberry pi 4 and MacBook, a set of 3 […]

check if ESP is powered on first time or from deep sleep

thanks! seems possible with: rst_info* rinfo = ESP[…]

Follow US on Twitter and get ESP8266 news and updates first.

About us

We are a strong Community of developers, hackers, and visionaries. No, seriously, we are!

Источник

FS.h no such file #776

Comments

shirish47 commented Sep 13, 2015

ino:3:16: fatal error: FS.h: No such file or directory
compilation terminated.

when I include «FS.h»

it does not find the file ??

I have installed esp8266 right now.. whats the problem ??

The text was updated successfully, but these errors were encountered:

igrr commented Sep 13, 2015

Please enable verbose compiler output in Arduino preferences and copy
complete output here. Thanks.

On Sun, Sep 13, 2015, 14:33 shirish47 notifications@github.com wrote:

ino:3:16: fatal error: FS.h: No such file or directory
compilation terminated.

when I include «FS.h»

it does not find the file ??

I have installed esp8266 right now.. whats the problem ??


Reply to this email directly or view it on GitHub
#776.

shirish47 commented Sep 13, 2015

C:UsersASUS-PCAppDataRoamingArduino15packagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.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=10604 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266 -IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric C:UsersASUS-PCAppDataLocalTempbuild5901705143095250808.tmpsketch_sep13a.cpp -o C:UsersASUS-PCAppDataLocalTempbuild5901705143095250808.tmpsketch_sep13a.cpp.o
sketch_sep13a.ino:2:16: fatal error: FS.h: No such file or directory
compilation terminated.
Error compiling.

igrr commented Sep 13, 2015

You are using ‘stable’ version of the esp8266 core, which doesn’t include
FS support yet. Follow the correct documentation link on the main page (in
‘stable version’ section).

On Sun, Sep 13, 2015, 14:51 shirish47 notifications@github.com wrote:

C:UsersASUS-PCAppDataRoamingArduino15packagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++
-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__
-IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.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=10604
-DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266
-IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.6.5-947-g39819f0coresesp8266
-IC:UsersASUS-PCAppDataRoamingArduino15packagesesp8266hardwareesp82661.6.5-947-g39819f0variantsgeneric
C:UsersASUS-PCAppDataLocalTempbuild5901705143095250808.tmpsketch_sep13a.cpp
-o
C:UsersASUS-PCAppDataLocalTempbuild5901705143095250808.tmpsketch_sep13a.cpp.o

sketch_sep13a.ino:2:16: fatal error: FS.h: No such file or directory
compilation terminated.
Error compiling.


Reply to this email directly or view it on GitHub
#776 (comment).

shirish47 commented Sep 13, 2015

shirish47 commented Sep 13, 2015

so I should use staging version for using FS.h ? right .

andig commented Nov 7, 2015

Just hit the same stop. Is there a list of what package is on what version (or whats new in staging) anywhere?

pilipicus commented Dec 8, 2015

Hi,
I get this error and I don’t know how to solve this problem. Please help me!
Thank you in advance

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware «/Applications/Arduino.app/Contents/Java/hardware» -hardware «/Users/filippoaiello/Library/Arduino15/packages» -tools «/Applications/Arduino.app/Contents/Java/tools-builder» -tools «/Applications/Arduino.app/Contents/Java/hardware/tools/avr» -tools «/Users/filippoaiello/Library/Arduino15/packages» -built-in-libraries «/Applications/Arduino.app/Contents/Java/libraries» -libraries «/Users/filippoaiello/Documents/Arduino/libraries» -fqbn=esp8266:esp8266:generic:UploadTool=esptool,CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck -ide-version=10606 -build-path «/var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp» -warnings=none -prefs=build.warn_data_percentage=75 -verbose «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/examples/WebSocketServer/WebSocketServer.ino»
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware «/Applications/Arduino.app/Contents/Java/hardware» -hardware «/Users/filippoaiello/Library/Arduino15/packages» -tools «/Applications/Arduino.app/Contents/Java/tools-builder» -tools «/Applications/Arduino.app/Contents/Java/hardware/tools/avr» -tools «/Users/filippoaiello/Library/Arduino15/packages» -built-in-libraries «/Applications/Arduino.app/Contents/Java/libraries» -libraries «/Users/filippoaiello/Documents/Arduino/libraries» -fqbn=esp8266:esp8266:generic:UploadTool=esptool,CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck -ide-version=10606 -build-path «/var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp» -warnings=none -prefs=build.warn_data_percentage=75 -verbose «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/examples/WebSocketServer/WebSocketServer.ino»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/ESP8266WiFiMulti.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiClient.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiServer.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiUdp.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/WebSockets.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/WebSocketsClient.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/WebSocketsServer.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/libb64/cdecode.c»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/libb64/cencode.c»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src/Hash.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src/sha1/sha1.c»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -D__ets
-DICACHE_FLASH -U__STRICT_ANSI
«-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/tools/sdk/include» -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp»
«/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino2/ctags» -u —language-force=c++ -f — —c++-kinds=svpf —fields=KSTtzns «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/preproc/ctags_target.cpp»
«/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino2/ctags» -u —language-force=c++ -f — —c++-kinds=svpf —fields=KSTtzns «/var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/preproc/ctags_target.cpp»
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -D__ets
-DICACHE_FLASH -U__STRICT_ANSI
«-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/tools/sdk/include» -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp» -o «/var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/sketch/WebSocketServer.ino.cpp.o»
Using previously compiled file: /var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/ESP8266WiFi.cpp.o
Using previously compiled file: /var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
Using previously compiled file: /var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/WiFiClient.cpp.o
Using previously compiled file: /var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/WiFiClientSecure.cpp.o
Using previously compiled file: /var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/WiFiServer.cpp.o
Using previously compiled file: /var/folders/m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/ESP8266WiFi/WiFiUdp.cpp.o
«/Users/filippoaiello/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++» -D__ets
-DICACHE_FLASH -U__STRICT_ANSI
«-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/tools/sdk/include» -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/cores/esp8266» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/variants/generic» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src» «-I/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src» «-I/Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash/src» «/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/WebSockets.cpp» -o «/var/folders/_m/m7fwr7sj4j5c53v2f0zvmhcw0000gp/T/build28d2ebf6aca2ada7c4ee6064d4477f03.tmp/libraries/arduinoWebSockets-master/WebSockets.cpp.o»
/Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master/src/WebSockets.cpp:28:35: fatal error: core_esp8266_features.h: No such file or directory
#include

compilation terminated.
Using library ESP8266WiFi at version 1.0 in folder: /Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi
Using library arduinoWebSockets-master at version 1.2 in folder: /Users/filippoaiello/Documents/Arduino/libraries/arduinoWebSockets-master
Using library Hash at version 1.0 in folder: /Users/filippoaiello/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/Hash
exit status 1
Error compiling.

Links2004 commented Dec 8, 2015

the core_esp8266_features.h is added in the latest git.
it is not included in any release.

simple create a empty one and the WebSockets will work in your case.
or update your core to the latest git version.

pilipicus commented Dec 8, 2015

Many thanks for your prompt reply. Really appreciated! 👍

Источник

Topic: ESP8266 Compiling with xtensa-freertos  (Read 14170 times)

I have created a crosscompiler for xtensa and the lx106 (ESP8266). But i am not able to compile a hello world. Exactly the compiling will work, but not the linking.

  1. @echo on

  2. set IDF_PATH=C:dataespESP8266_RTOS_SDK

  3. cd C:datalazdevxtensaprojects

  4. C:datalazdevxtensafpcbini386-win32ppcrossxtensa -va -Furtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O3 -Wpesp8266 HelloWorld2.lpr -Fl~/esp/xtensa-lx106-elf-libs/ -FlC:dataespESP8266_RTOS_SDKcomponents/esp8266/lib -FlC:dataespESP8266_RTOS_SDK/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/

  5. pause

My SDK is under c:dataesp, not c.esp to hold my root clean.

If i try my HelloWorld2.lpr to compile i get the following message.

….
[1.521] Searching file C:datalazdevxtensacrosslibxtensa-freertoslx106libstdc++.a… found
[1.523] Searching file C:datalazdevxtensacrosslibxtensa-freertoslx106libpthread.a… found
[1.527] Searching file C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe… found
[1.528] Using util C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe
[1.529] Executing «C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe -C -P -x c -E -o /esp8266_out.ld -I / /components/esp8266/ld/esp8266.ld» using comspec «C:WINDOWSsystem32cmd.exe»
[1.530] Executing «C:WINDOWSsystem32cmd.exe» with command line » /C C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe -C -P -x c -E -o /esp8266_out.ld -I / /components/esp8266/ld/esp8266.ld»
xtensa-lx106-elf-gcc.exe: error: /components/esp8266/ld/esp8266.ld: No such file or directory
xtensa-lx106-elf-gcc.exe: warning: ‘-x c’ after last input file has no effect
xtensa-lx106-elf-gcc.exe: fatal error: no input files
compilation terminated.
[1.589] HelloWorld2.lpr(13,24) Error: Error while linking
[1.593] Searching file C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-objdump.exe… found
[1.594] Using util C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-objdump.exe
[1.595] Searching file HelloWorld2.o… found
[1.596] Searching file HelloWorld2.o… found
…..

Maybe i have not given all need information to the crosscompiler. But i created my HelloWorld according the  wiki https://wiki.lazarus.freepascal.org/Xtensa point 1.2.4 to test my crosscompiler.

Any hints how to get this working?   


Logged

regards
Andreas


I currently work with him.
But the new one is with core RISK-V and may be good to transfer to him


Logged


I currently work with him.
But the new one is with core RISK-V and may be good to transfer to him

which is ‘him’ ? I am talking about ESP8266 — not him (or her)


Logged

regards
Andreas


Dial back the attitude mate.

The previous poster, who was trying to help you and whose grasp of English pronouns or translation software may not be perfect, was suggesting that the new ESP8266s have RISK-V cores which may or may not help you.


Logged

Lazarus 2.3, FPC 3.3.1 macOS 12.6.1 x86_64 Xcode 14.1
Lazarus 2.3, FPC 3.3.1 macOS 12.6.1 aarch64 Xcode 14.1


error: /components/esp8266/ld/esp8266.ld: No such file or directory

Sounds like a wrong path. Maybe confused between backslash and frontslash?


Logged


error: /components/esp8266/ld/esp8266.ld: No such file or directory

Sounds like a wrong path. Maybe confused between backslash and frontslash?

I think it is not confused by backslah/frontslash. I think its more a ‘hidden’ missing enviroment variable. One indication i have found in the wiki with IDF_PATH. But i think another internal information is missing.

@trev and bobihot: Sorry for misunderstanding. I am also a not native speaker and have my troubles with the translation (sometime with google too).
I have no indication that the esp8166 have risc-v. I f you mean other chips from expressif maybe. But this should only end in a wrong objectfile, but not in such a compiler message.

BTW @trev: Dial back the attitude mate -> is not understandable by me. google translate give me a nonsense message in my native language back.


Logged

regards
Andreas


If i compile with the option -sh

  1. @echo on

  2. set IDF_PATH=C:dataespESP8266_RTOS_SDK

  3. cd C:datalazdevxtensaprojects

  4. C:datalazdevxtensafpcbini386-win32ppcrossxtensa -sh -Furtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O1 -Wpesp8266 HelloWorld2.lpr -Fl~/esp/xtensa-lx106-elf-libs/ -FlC:dataespESP8266_RTOS_SDKcomponents/esp8266/lib -FlC:dataespESP8266_RTOS_SDK/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/

  5. pause

i get a ppas.bat file with the following content

  1. @echo off

  2. SET THEFILE=helloworld2

  3. echo Assembling %THEFILE%

  4. C:datalazdevxtensacrossbinxtensafreertosbinxtensalx106elfas.exe o HelloWorld2.o  HelloWorld2.s longcalls

  5. if errorlevel 1 goto asmend

  6. rem Del HelloWorld2.s

  7. SET THEFILE=HelloWorld2

  8. echo Linking %THEFILE%

  9. C:datalazdevxtensacrossbinxtensafreertosbinxtensalx106elfgcc.exe C P x c E o /esp8266_out.ld I / C:dataespESP8266_RTOS_SDK/components/esp8266/ld/esp8266.ld

  10. ….

in the line, where gcc is called, i get a error.

C:datalazdevxtensaprojects>echo Linking HelloWorld2
Linking HelloWorld2

C:datalazdevxtensaprojects>C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe -C -P -x c -E -o /esp8266_out.ld -I / C:dataespESP8266_RTOS_SDK/components/esp8266/ld/esp8266.ld
xtensa-lx106-elf-gcc.exe: error: CreateProcess: No such file or directory

C:datalazdevxtensaprojects>if errorlevel 1 goto linkend1

What will he compile ?! I think i am missing here something.
Any hint ?


Logged

regards
Andreas


Run the problematic line in a terminal, and give it the same slash to eliminate the possibility of wrong slash.


Logged


If you share the files produced by FPC, I can give it a shot. I already have xtensa SDK.


Logged


error: /components/esp8266/ld/esp8266.ld: No such file or directory

Sounds like a wrong path. Maybe confused between backslash and frontslash?

I think it is not confused by backslah/frontslash. I think its more a ‘hidden’ missing enviroment variable. One indication i have found in the wiki with IDF_PATH. But i think another internal information is missing.

This may be a Windows specific compiler bug  The path to esp8266.ld is supposed to start with the project exe output folder, which in this case appears to be empty/unspecified.  Do you see other compiler generated files such as Kconfig or kconfig.in etc in your project folder?

As a test, please adding the following to you compiler command:

-FEc:somefolderHelloWorldThen report which files end up in this folder during the whole build process.

« Last Edit: January 02, 2022, 05:13:18 pm by ccrause »


Logged


  1. set IDF_PATH=C:dataespESP8266_RTOS_SDK

For information, you can also use the command line option -Ff to pass the SDK path to the compiler as alternative to setting IDF_PATH as environment variable.  This makes it a little easier to compile from inside Lazarus…


Logged


As a test, please adding the following to you compiler command: -FEc:somefolderHelloWorldThen report which files end up in this folder during the whole build process.

I have inserted the whole project after the run of test.cmd with all files. In test.cmd is the call for the compiler.


Logged

regards
Andreas


As a test, please adding the following to you compiler command: -FEc:somefolderHelloWorldThen report which files end up in this folder during the whole build process.

I have inserted the whole project after the run of test.cmd with all files. In test.cmd is the call for the compiler.

Thanks, at least adding -FE seemed to have fixed the path to esp8266_out.ld:

C:datalazdevxtensacrossbinxtensa-freertosbinxtensa-lx106-elf-gcc.exe -C -P -x c -E -o C:datalazdevxtensaprojects/esp8266_out.ld ...
Can you run the ppas.bat and see how far you get?  I’m not sure if Windows will complain about the / combination in the path.  If you still get an error when executing this line, try formatting slashes into proper Windows format. This can be fixed in the compiler.

Do you know the date of the compiler source code used to build your cross compiler (i.e. when was the compiler source pulled from git)?  There were a couple of changes around November that may impact your situation.


Logged


Lazarus 2.3.0 (rev main-2_3-586-ga9457c2f2b) FPC 3.3.1 i386-win32-win32/win64

FPC:
git log
commit 116c861af6c13f6d3d0d0d91b6dc4e0c1eb88550 (HEAD -> main, origin/main, origin/HEAD)
Author: J. Gareth «Curious Kit» Moreton <gareth@moreton-family.com>
Date:   Mon Dec 27 16:18:13 2021 +0000

    MOV/CMP optimisation is now in both Pass 1 and Pass 2 to catch more
    eventualities

Actual output from ppas.bat (with echo on) as attachment

Edit: the correction of the slashes have no effect
But i have looked at «-I C:datalazdevxtensaprojects» — the option -I is not found if i ask the help from the cross-gcc

« Last Edit: January 02, 2022, 07:15:53 pm by af0815 »


Logged

regards
Andreas


Lazarus 2.3.0 (rev main-2_3-586-ga9457c2f2b) FPC 3.3.1 i386-win32-win32/win64

FPC:
git log
commit 116c861af6c13f6d3d0d0d91b6dc4e0c1eb88550 (HEAD -> main, origin/main, origin/HEAD)
Author: J. Gareth «Curious Kit» Moreton <gareth@moreton-family.com>
Date:   Mon Dec 27 16:18:13 2021 +0000

OK, that is recent enough.

Actual output from ppas.bat (with echo on) as attachment

Edit: the correction of the slashes have no effect

The following error seems to indicate there is still a file missing: xtensa-lx106-elf-gcc.exe: error: CreateProcess: No such file or directory.  Or at least a file that is not located in any of the search directories that gcc knows.  Or perhaps that gcc cannot create the output file?  Just to confirm, do you get the same error message when the slashes are corrected?

But i have looked at «-I C:datalazdevxtensaprojects» — the option -I is not found if i ask the help from the cross-gcc

-I is a standard gcc option. It may not be obvious from the command line help.  Try just plain

xtensa-lx106-elf-gcc.exe -IThis should say like the following:

xtensa-lx106-elf-gcc: error: missing path after ‘-I’


Logged


Понравилась статья? Поделить с друзьями:

Читайте также:

  • Xtensa esp32 elf g error createprocess no such file or directory
  • Xstring c error
  • Xsolla genshin impact произошла ошибка
  • Xliveinitialize lost planet как исправить
  • Xlive dll для gta 4 ошибка

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии