-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Could not find LD script when uploading remotely #165
Comments
I'm seeing the same error when specifying After some tracing, I noticed that the error message comes from platformio-core: But platform-espressif8266/builder/main.py Lines 204 to 205 in fa48bca
Adding the env.ProcessFlags(env.get("BUILD_FLAGS")) fixes the LD script detection.edit: ...and also this part of BuildProgram, if build_flags is empty / without -Wl,-T ...: https://github.com/platformio/platformio-core/blob/5e73348263ef10458a950a0022dabaec803f46a6/platformio/builder/tools/platformio.py#L127-L129
But it looks like that the platformio-core must always parse build flags and not the platform code? |
Same problem using espressif8266@2.2.2 with platformio 3.6.7. |
The workaround is not working for me with pio v4.0.0. |
For me, the workaround leads to
[EDIT] |
for me is not an option to use --force-remote, I need to build on CI server. |
Please re-run |
Yep, that fixed it ! Thanks |
fixed, thanks |
I have following setup: Platformio installed on Raspberry Pi and gen4iod board connected to the Raspberry via USB. I run remote agent on the Raspberry.
When I try to upload firmware remotely from my PC, it ends with the error:
When I compile exactly the same project locally on the Raspberry and upload it locally (with
pio run --target upload
), it uploads the firmware to the board without any problems.I'm using PlatformIO, version 4.0.0 and espressif8266 @ 2.2.2
The text was updated successfully, but these errors were encountered: