platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
330 stars 219 forks source link

Error: Could not find LD script when uploading remotely #228

Open mariusstaicu opened 4 years ago

mariusstaicu commented 4 years ago

local PIO version 4.3.4 remote PIO version 4.3.4 for every espressif8266 platform version > 2.5.1 I get this error when I'm trying to upload firmware remotely -

ENV1=value1 ENV2=value2 pio remote -a agent run -e env -t upload --upload-port 192.168.1.141 
Uploading firmware remotely
Processing release (platform: espressif8266@2.6.2; board: nodemcuv2; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Error: Could not find LD script
========================== [FAILED] Took 3.45 seconds ==========================

Environment    Status    Duration
-------------  --------  ------------
development    IGNORED
integration    IGNORED
release        FAILED    00:00:03.451
production     IGNORED
==================== 1 failed, 0 succeeded in 00:00:03.451 ====================

espressif8266@2.5.1 is the last one that works correctly.

valeros commented 4 years ago

Hi @mariusstaicu ! Does it work if you specify --force-remote flag?

mariusstaicu commented 4 years ago

using force-remote seems to be working, however it is not good for my case, I need the build to happen on local system

mariusstaicu commented 3 years ago

any updates on this ?

vvf commented 3 years ago

local PIO version 5.1.1 remote PIO version 5.1.1

`> Executing task in folder esp12e-relay8: platformio remote run --target upload <

Processing esp12e (platform: espressif8266; board: esp12e; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html PLATFORM: Espressif 8266 (2.6.3) > Espressif ESP8266 ESP-12E HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Terminal will be reused by tasks, press any key to close it. `

Still not worked! When build local - found all dependencies and compile. I tried to cleanup and than remote upload - all the same.

mariusstaicu commented 2 years ago

same issue on platformio 5.2.0 with any platform espressif8266 > 2.5.1