markingle / mavesp8266

Although the repo name implies ESP8266 this repo is a ported version of the mavesp8266 to a ESP32 WROOM
Other
7 stars 4 forks source link

xtensa-lx106-elf-g++: error: +%Y-%m-%d): No such file or directory #1

Open lida2003 opened 7 months ago

lida2003 commented 7 months ago

vscode version + latest mavesp8266, build error.

I'm NOT sure what's going on here. Is something wrong with project configration?

Version: 1.81.0 (user setup) Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97 Date: 2023-08-02T12:37:13.485Z Electron: 22.3.18 ElectronBuildId: 22689846 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.22621

*  Executing task: C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe run --environment esp01 

Processing esp01 (platform: espressif8266@2.0.4; framework: arduino; board: esp01)
---------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01.html
PLATFORM: Espressif 8266 (2.0.4) > Espressif Generic ESP8266 ESP-01 512k
HARDWARE: ESP8266 80MHz, 80KB RAM, 512KB Flash
PACKAGES: 
 - framework-arduinoespressif8266 @ 2.20500.190223 (2.5.0) 
 - tool-esptool @ 1.413.0 (4.13) 
 - toolchain-xtensa @ 1.40802.0 (4.8.2)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 27 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ESP8266mDNS @ 1.2
|-- ESP8266WebServer @ 1.0
|-- EEPROM @ 1.0
|-- mavlink
|-- ESP8266WiFi @ 1.0
Building in release mode
Compiling .pio\build\esp01\src\main.cpp.o
Compiling .pio\build\esp01\src\mavesp8266.cpp.o
Compiling .pio\build\esp01\src\mavesp8266_component.cpp.o
Compiling .pio\build\esp01\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
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\src\main.cpp.o] Error 1
*** [.pio\build\esp01\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
*** [.pio\build\esp01\src\mavesp8266_component.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\src\mavesp8266_gcs.cpp.o] Error 1
=============================================== [FAILED] Took 3.92 seconds ===============================================

Environment    Status    Duration
-------------  --------  ------------
esp01          FAILED    00:00:03.918
========================================== 1 failed, 0 succeeded in 00:00:03.918 ==========================================

 *  The terminal process "C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'esp01'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
WCjai commented 5 months ago

in platformio.ini file replace "build_flags" under versions with build_flags = !echo "-DPIO_SRC_REV="3c97649f189521e03ca7b871a1ebe7b91a921f33 "-DPIO_BUILD_DATE="2030-08-30 "-DPIO_BUILD_TIME="12-13-56, these are just manual entry, cant able to find other way