Jason2866 / platform-espressif32

Tasmota Espressif 32: development platform for PlatformIO

Home Page:http://platformio.org/platforms/espressif32

Repository from Github https://github.comJason2866/platform-espressif32Repository from Github https://github.comJason2866/platform-espressif32

The command line is too long. (windows) vs linux in examples/espidf-ulp-riscv

newmansnj opened this issue · comments

examples/espidf-ulp-riscv
When I try to run your example on Windwos with framework = arduino, espidf I get the error message "The command line is too long" on linux the error message does not appear with the exact same project. The same error message appears when I run framework espidf (without arduino ) but with platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.01.12/platform-espressif32.zip or platform = espressif32 only with an exact version number @ ^ it does not appear because then the name for the version is smaller, no long strings follow for the exact espressif32 version.

The reason is the cmd which is executed in windows and has a character limit of 8191.

Linux
Bildschirmfoto vom 2024-02-09 05-45-58

WIndows :
image
(Die Befehlszeile ist zu lang. == The command line is too long.)

Don't know how i should fix a Windows issue. Not using Windows.
The platform string length seems not relevant. This path is nowhere in the called command line.

No, the problem is the platform an outdated API uses what is still from DO's times, which limits the characters length to 8191.

https://github.com/platformio/platformio-core/blob/f519a9d5248df3c50b0351b314cf5b090f0893b4/platformio/debug/process/gdb.py#L172

platformio/platformio-core#4856

Closing since the issue is not in the fork of platform espressif32