I want to facilitate the compilation of different flavour of ESPeasy according to my needs (various ESP, different plugins...) in an easy way. Arduino IDE works, but not very convenient for multiple configs.
I installed VCode+Platformio+all tools (git, extension,...) like explained in https://espeasy.readthedocs.io/en/lates ... ormIO.html
I create a new project by cloning directly via Github https://github.com/letscontrolit/ESPEasy.git
It loads perfectly tall the stuff on my HDD.
Then, I select "Build" in env:normal_ESP8266_4M1M
And it starts the job but always stops after a while on this error: (i tried different others environement, no success)
Code: Select all
...
> Executing task: C:\Users\thoma\.platformio\penv\Scripts\platformio.exe run --environment normal_ESP8266_4M1M <
Processing normal_ESP8266_4M1M (platform: espressif8266@2.4.0; board: esp12e; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing framework-arduinoespressif8266
git version 2.26.0.windows.1
Cloning into 'C:\Users\thoma\.platformio\packages\_tmp_installing-gkuzryon-package'...
remote: Enumerating objects: 1647, done.
remote: Counting objects: 100% (1647/1647), done.
remote: Compressing objects: 100% (1401/1401), done.
remote: Total 1647 (delta 201), reused 841 (delta 78), pack-reused 0
Receiving objects: 100% (1647/1647), 23.63 MiB | 7.87 MiB/s, done.
Resolving deltas: 100% (201/201), done.
Note: switching to '3d128e5c785cbe2096a0def394554d1d8091601d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Updating files: 100% (1360/1360), done.
Submodule 'libraries/ESP8266SdFat' (https://github.com/earlephilhower/ESP8266SdFat.git) registered for path 'libraries/ESP8266SdFat'
Submodule 'libraries/LittleFS/lib/littlefs' (https://github.com/ARMmbed/littlefs.git) registered for path 'libraries/LittleFS/lib/littlefs'
Submodule 'libraries/SoftwareSerial' (https://github.com/plerup/espsoftwareserial.git) registered for path 'libraries/SoftwareSerial'
Submodule 'tools/esptool' (https://github.com/espressif/esptool.git) registered for path 'tools/esptool'
Submodule 'tools/pyserial' (https://github.com/pyserial/pyserial.git) registered for path 'tools/pyserial'
Submodule 'lwip2' (https://github.com/d-a-v/esp82xx-nonos-linklayer.git) registered for path 'tools/sdk/lwip2/builder'
Submodule 'tools/sdk/ssl/bearssl' (https://github.com/earlephilhower/bearssl-esp8266.git) registered for path 'tools/sdk/ssl/bearssl'
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/libraries/ESP8266SdFat'...
remote: Enumerating objects: 3534, done.
remote: Total 3534 (delta 0), reused 0 (delta 0), pack-reused 3534
Receiving objects: 100% (3534/3534), 10.16 MiB | 5.64 MiB/s, done.
Resolving deltas: 100% (1916/1916), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/libraries/LittleFS/lib/littlefs'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 2170 (delta 1), reused 3 (delta 1), pack-reused 2163
Receiving objects: 100% (2170/2170), 1.29 MiB | 2.49 MiB/s, done.
Resolving deltas: 100% (1509/1509), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/libraries/SoftwareSerial'...
remote: Enumerating objects: 73, done.
remote: Counting objects: 100% (73/73), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 1859 (delta 32), reused 50 (delta 16), pack-reused 1786
Receiving objects: 100% (1859/1859), 372.01 KiB | 1.72 MiB/s, done.
Resolving deltas: 100% (1079/1079), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/tools/esptool'...
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (93/93), done.
remote: Compressing objects: 100% (73/73), done.
remote: Total 2227 (delta 37), reused 74 (delta 19), pack-reused 2134
Receiving objects: 100% (2227/2227), 7.85 MiB | 6.15 MiB/s, done.
Resolving deltas: 100% (1368/1368), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/tools/pyserial'...
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 5878 (delta 20), reused 13 (delta 0), pack-reused 5831
Receiving objects: 100% (5878/5878), 1.65 MiB | 2.96 MiB/s, done.
Resolving deltas: 100% (4338/4338), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/tools/sdk/lwip2/builder'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 924 (delta 8), reused 14 (delta 6), pack-reused 902
Receiving objects: 100% (924/924), 481.52 KiB | 1.30 MiB/s, done.
Resolving deltas: 100% (543/543), done.
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/tools/sdk/ssl/bearssl'...
remote: Enumerating objects: 86, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 2820 (delta 46), reused 50 (delta 28), pack-reused 2734
Receiving objects: 100% (2820/2820), 1.79 MiB | 2.84 MiB/s, done.
Resolving deltas: 100% (2225/2225), done.
Submodule path 'libraries/ESP8266SdFat': checked out 'b240d2231a117bbd89b79902eb54cae948ee2f42'
Submodule path 'libraries/LittleFS/lib/littlefs': checked out '6b65737715039ef92d348014316b575b52547019'
Submodule path 'libraries/SoftwareSerial': checked out '9da4d3729a57a181307bf9acf73473d052a38874'
Submodule path 'tools/esptool': checked out 'de30f21a222ec62f5a023dd955439b4f57702768'
Submodule path 'tools/pyserial': checked out 'c54c81d933b847458d465cd77e96cd702ff2e7be'
Submodule path 'tools/sdk/lwip2/builder': checked out '354887a25f83064dc0c795e11704190845812713'
Submodule 'lwip2-src' (https://git.savannah.nongnu.org/git/lwip.git) registered for path 'tools/sdk/lwip2/builder/lwip2-src'
Cloning into 'C:/Users/thoma/.platformio/packages/_tmp_installing-gkuzryon-package/tools/sdk/lwip2/builder/lwip2-src'...
remote: Counting objects: 51302, done.
remote: Compressing objects: 100% (12142/12142), done.
remote: Total 51302 (delta 38712), reused 51036 (delta 38514)
Receiving objects: 100% (51302/51302), 10.08 MiB | 4.18 MiB/s, done.
Resolving deltas: 100% (38712/38712), done.
error: Server does not allow request for unadvertised object 159e31b689577dbf69cf0683bbaffbd71fa5ee10
Fetched in submodule path 'tools/sdk/lwip2/builder/lwip2-src', but it did not contain 159e31b689577dbf69cf0683bbaffbd71fa5ee10. Direct fetching of that commit failed.
Submodule path 'tools/sdk/ssl/bearssl': checked out '89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa'
Failed to recurse into submodule path 'tools/sdk/lwip2/builder'
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', '2.6.3', 'https://github.com/esp8266/Arduino.git', 'C:\\Users\\thoma\\.platformio\\packages\\_tmp_installing-gkuzryon-package']
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
My objective is to add some Playground plugin. IS there a way to do this easily with such envrionement ?
Thank you