Building MAVESP8266 from Github

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 :slight_smile:

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 =

There is an Ardupilot-specific version which is discussed on the wiki

https://ardupilot.org/copter/docs/common-esp8266-telemetry.html

You might want to try that version (binaries are also available; I had no trouble installing on a nodemcu board)

Hi I’m aware of the bin file and how to load via nodemcu, however I want to build from code the same bin file (so I can make changes to adapt to my personal needs). The code I’m building from is the ardupilot fork in github.

i use esp-link on wimos d1 mini esp8266 - im thinking it will do what you ask. ??

Best bit is the 1 click install, hit the connect button on the following link, and that’s it really…
the rest is excellent and runs mavlink over it no probs.

Using esp-link – Marcel Zuidwijk - look for the blue " Connect Button " which may get blocked by adblockers. My firefox hid it, my chrome shows it.