Replies: 13 comments 25 replies
-
Ah windows and as.exe again. Welcome to the club. |
Beta Was this translation helpful? Give feedback.
-
What exactly did you change ? You shouldn't have to change anything but only select the correct target in VisualCode, and when platformio has done its trick, click the build button |
Beta Was this translation helpful? Give feedback.
-
that's what i did. Comment out all target, only tasmota32c3 is choosen. |
Beta Was this translation helpful? Give feedback.
-
Will try: as mentioned here: |
Beta Was this translation helpful? Give feedback.
-
Try this https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry |
Beta Was this translation helpful? Give feedback.
-
Changing in platformio_override fixed it. Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
see comment above |
Beta Was this translation helpful? Give feedback.
-
It's not a Tasmota error. It's a platformio error. In the end I moved to WSL on windows and run platformio on Ubuntu while running VSC in windows. It even compiles faster than pure windows. |
Beta Was this translation helpful? Give feedback.
-
Is there anyone who is able to compile 14.2.0.6 on windows? |
Beta Was this translation helpful? Give feedback.
-
Again gave it a try tasmota32c3 fails constantly:
|
Beta Was this translation helpful? Give feedback.
-
I started the process with removing VSCode, using Revo Uninstaller, then I deleted the .platformio directory, rebooted and installed from scratch. Had several versions of Tasmota on my system, and deleted everything before I downloaded the .zip file, unzipped and moved the tasmota-development (bottom directory) to where I wanted it to be. Did not work until I changed the platforio_override.ini.
Next step would have been to install Ubuntu on a virtual machine.
Fra: Helmar ***@***.***>
Sendt: 11 October 2024 17:05
Til: arendst/Tasmota ***@***.***>
Kopi: ulfh2018 ***@***.***>; Comment ***@***.***>
Emne: Re: [arendst/Tasmota] Compile of Tasmota 14.2.0 failed for ESP32C3. UPDATE: Error is back on14.2.0.6 and 14.3.0 pre-release (Discussion #21964)
Again gave it a try tasmota32c3 fails constantly:
Compiling C:\.pio\build\tasmota32c3\libef6\ESP8266Audio\libopus\silk\NLSF_decode.c.o
Compiling C:\.pio\build\tasmota32c3\libef6\ESP8266Audio\libopus\silk\NLSF_del_dec_quant.c.o
riscv32-esp-elf-g++: fatal error: cannot execute 'c:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/as.exe': CreateProcess: No such file or directory
compilation terminated.
*** [C:\.pio\build\tasmota32c3\src\tasmota.ino.cpp.o] Error 1
========================================================================================================================== [FAILED] Took 137.51 seconds ==========================================================================================================================
Environment Status Duration
------------- -------- ------------
tasmota32c3 FAILED 00:02:17.508
===================================================================================================================== 1 failed, 0 succeeded in 00:02:17.508 =====================================================================================================================
* Der Terminalprozess "C:\.platformio\penv\Scripts\platformio.exe 'run'" wurde mit folgendem Exitcode beendet: 1.
* Das Terminal wird von Aufgaben wiederverwendet, drücken Sie zum Schließen eine beliebige Taste.
—
Reply to this email directly, view it on GitHub <#21964 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIXWZEB4JR3Q6Z5JNI5SFRDZ27SINAVCNFSM6AAAAABMQVPIBOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJRGY3DAOI> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AIXWZEC4SAPHTW4QJJDWTI3Z27SINA5CNFSM6AAAAABMQVPIBOWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAU2JQC.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
Windows hits its limits with path length limitation. Platformio is just not doing crude workarounds for Windows to get big Projects going. Don't waste your time trying to workaround for a limitation Microsoft is not willing to solve since many many years. There are issue free alternatives The shorten of the project path will not work very long. With every library or source file added to Tasmota the command line for the compiler, linker and assembler will get longer. |
Beta Was this translation helpful? Give feedback.
-
Hi, I tried to compile Tasmota 14.2.0 for ESP32C3.
I only changed that in platformio_override.ini:
everything else is on "default"
I got the following error:
It worked before with 14.1.0
Beta Was this translation helpful? Give feedback.
All reactions