Please Help me, i received this Error "Command failed: avr-toolchain\bin\avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-s"


#1

Hello i receive this error on upload the code on ESP8266 module

The Error
Are only a 1 second wait, for test

The help file:
Command failed: avr-toolchain\bin\avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Users\Public\Programs\mblock\resources\app\mlink-v1\external\arduino\avr-library\variants\standard" -I"avr-library/cores/arduino" -I"arduino-libraries/makeblock/src" -I"arduino-libraries/makeblock/src/utility/avr" -I"avr-library/libraries/Wire/src/utility" -I"avr-library/libraries/Wire/src/" -I"avr-library/libraries/EEPROM/src/" -I"avr-library/libraries/SPI/src/" -I"avr-library/libraries/SoftwareSerial/src/" -I"arduino-libraries/arduino/WiFi/src/" -I"arduino-libraries/arduino/SD/src/" -I"arduino-libraries/arduino/Bridge/src/" -I"arduino-libraries/arduino/Temboo/src/" -I"arduino-libraries/arduino/Servo/src/" -I"arduino-libraries/arduino/Ethernet/src/" -I"arduino-libraries/arduino/TFT/src/" -I"arduino-libraries/arduino/SpacebrewYun/src/" -I"arduino-libraries/arduino/LiquidCrystal/src/" -I"arduino-libraries/arduino/GSM/src/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/utility/" -I"arduino-libraries/arduino/Esplora/src/" -I"arduino-libraries/arduino/Firmata/" -I"arduino-libraries/arduino/Firmata/utility/" -I"arduino-libraries/arduino/Keyboard/src/" -I"arduino-libraries/arduino/Mouse/src/" -I"arduino-libraries/arduino/Robot_Control/src/" -I"arduino-libraries/arduino/Robot_Motor/src/" -I"arduino-libraries/arduino/RobotIRremote/src/" -I"arduino-libraries/arduino/Stepper/src/" “C:\Users\Asimov\mblock-avr\temp\build\src\FirebaseESP8266.cpp” -o “C:\Users\Asimov\mblock-avr\temp\build\src\FirebaseESP8266.o” In file included from C:\Users\Asimov\mblock-avr\temp\build\src\FirebaseESP8266.cpp:42:0: C:\Users\Asimov\mblock-avr\temp\build\src\FirebaseESP8266.h:46:10: fatal error: FS.h: No such file or directory #include <FS.h> ^~~~~~ compilation terminated.

Failed to compile file src/FirebaseESP8266.cpp

arduino build failed.


#2

What device are you using? How is the device connected? Is there any other helpful info you could give me, so I can troubleshoot?


#3

Hello i have a Generic ESP8266 module like this
https://esp8266-shop.com/esp8266-guide/esp8266-nodemcu-pinout/
You Know how to export the project to Arduino code?


#4

You can export your project as Arduino Code by clicking the yellow “</>” symbol:
image

image

Select all text in the Arduino code preview:
image
Press and hold the CTRL key (CMD on Mac), then press C. This copies the selected text.
You can Press the CTRL key (CMD on Mac), then press V to paste the code where you want.