Skip to content

Conversation

pfeerick
Copy link

When using pio remote, it appears this code remanent was preventing upload (to a d1_mini target), triggering an "Error: Could not find LD script" error to be shown.

It seems it should have been fixed in e69a2cb but resurfaced at a later date.

Fixes platformio/platformio-core#3580

When using `pio remote`, it appears this code remanent was preventing upload (to a `d1_mini` target), triggering an "Error: Could not find LD script" error to be shown.
@QrackEE
Copy link

QrackEE commented Sep 24, 2025

Experiencing it as of today

  • PlatformIO Core 6.1.18,
  • platformio/espressif8266 4.2.1

Hotfixed thanks to @optiprime post in platformio-core/issues/3580 (linked to this)

here's my mod, with 'minimal change to stay on the safe side (hopefully... did not dig into full impact of this..)

> sed -n '262,270 p' platforms/espressif8266/builder/main.py
# remove after PIO Core 3.6 release
#elif set(["checkprogsize", "upload"]) & set(COMMAND_LINE_TARGETS):
elif set(["checkprogsize"]) & set(COMMAND_LINE_TARGETS):
    _update_max_upload_size(env)

wouldn't that be time to fulfill this 'todo', or is it still necessary despite prior hopes? @ivankravets, do you happen to remember? Answer could help push merge of related PR by @pfeerick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed Remote Unit Test / Uploading using Travis : Could not find LD script.

2 participants