Hi I’m trying to build the code from the MAVESP8266 repository on github. I’ve followed the instructions but I’m having build errors and hoping someone can help me figure it out.
To be clear this issue is a related to building code from Github, and not related to flashing the esp8266. If a developer could help me that would be appreciated
Instructions via Readme: mavesp8266/README.md at master · ArduPilot/mavesp8266 · GitHub
Error message as per below:
Processing esp01_1m (board: esp01_1m; platform: espressif8266@1.8.0; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 8266 (1.8.0) > Espressif Generic ESP8266 ESP-01 1M
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES:
- framework-arduinoespressif8266 @ 2.20402.4 (2.4.2)
- tool-esptool @ 1.413.0 (4.13)
- toolchain-xtensa @ 1.40802.0 (4.8.2)
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 27 compatible libraries
Scanning dependencies…
Dependency Graph
|-- ESP8266mDNS
|-- ESP8266WebServer @ 1.0
|-- EEPROM @ 1.0
|-- mavlink
|-- ESP8266WiFi @ 1.0
Building in release mode
Compiling .pio\build\esp01_1m\src\main.cpp.o
Compiling .pio\build\esp01_1m\src\mavesp8266.cpp.o
Compiling .pio\build\esp01_1m\src\mavesp8266_component.cpp.o
Compiling .pio\build\esp01_1m\src\mavesp8266_gcs.cpp.o
xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory
xtensa-lx106-elf-g++: error: +%H:%M:%S): Invalid argument
Compiling .pio\build\esp01_1m\src\mavesp8266_httpd.cpp.o
*** [.pio\build\esp01_1m\src\main.cpp.o] Error 1
xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory
xtensa-lx106-elf-g++: error: +%H:%M:%S): Invalid argument
*** [.pio\build\esp01_1m\src\mavesp8266.cpp.o] Error 1
xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory
xtensa-lx106-elf-g++: error: +%H:%M:%S): Invalid argument
xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory
xtensa-lx106-elf-g++: error: +%H:%M:%S): Invalid argument
*** [.pio\build\esp01_1m\src\mavesp8266_component.cpp.o] Error 1
*** [.pio\build\esp01_1m\src\mavesp8266_gcs.cpp.o] Error 1
xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory
xtensa-lx106-elf-g++: error: +%H:%M:%S): Invalid argument
*** [.pio\build\esp01_1m\src\mavesp8266_httpd.cpp.o] Error 1
================================================================================================== [FAILED] Took 2.15 seconds =