Giter Club home page Giter Club logo

Comments (11)

ivankravets avatar ivankravets commented on June 9, 2024 1

Fixed in 5a8b3ec

Please pio update

from platform-espressif8266.

sidoh avatar sidoh commented on June 9, 2024

What does your platformio.ini look like? Just found that overriding the load script with build_flags (e.g., -Wl,-Tesp8266.flash.1m64.ld) wasn't working. Removed that and it worked. Looks like changing esp8266 to eagle will work (see this commit).

from platform-espressif8266.

abhisheksafui avatar abhisheksafui commented on June 9, 2024

facing same issue esp12e.json already has eagle instead of esp8266

from platform-espressif8266.

baoshi avatar baoshi commented on June 9, 2024

It seems like a bug in the platform files.

  1. You need to create a folder "ldscripts" under "espiressif8266_stage", and copy the ".ld" files from "framework-arduinoespressif8266xxxxx/tools/sdk/ld" into ldscripts.
  2. You need to modify each .ld file's "INCLUDE" section, remove "../ld/" at beginning.
    Now buildfs and uploadfs should work.
    However if you want to choose a flash configuration, you need to make your own board.json file. It seems the build_flags does not override ldscripts in the build-in board definitions.

from platform-espressif8266.

sidoh avatar sidoh commented on June 9, 2024

It looks like ld scripts were intentionally removed because they're supplied elsewhere: (commit: cd2c849).

Just replace

-Wl,-Tesp8266.flash.1m64.ld

with

-Wl,-Teagle.flash.1m64.ld

and it should work.

from platform-espressif8266.

universam1 avatar universam1 commented on June 9, 2024

not working for me:
espressif8266_stage @ d192958 [Up-to-date]
Core 3.5.0a10

pio run -t uploadfs
Processing main (framework: arduino; lib_deps: ArduinoJson, ESPAsyncTCP, ESPAsyncWebServer, JPEGDecoder
, 2; board_f_cpu: 160000000L; platform: espressif8266_stage; upload_speed: 921600; board: d1_mini; monitor_baud: 115200")

Verbose mode can be enabled via -v, --verbose option
Error: Could not find LD script

from platform-espressif8266.

nardev avatar nardev commented on June 9, 2024

getting same error again... tried -Wl,-Teagle.flash.1m64.ld
and pio updates.. nothing helps.. any clue???

from platform-espressif8266.

ivankravets avatar ivankravets commented on June 9, 2024

@nardev do you use the latest dev/platform of espressif8266? Please run pio update command.

How does look your platformio.ini?

from platform-espressif8266.

nardev avatar nardev commented on June 9, 2024

I do.. i managed it somehow with build_flags = -Wl,-Tesp8266.flash.4m.ld

from platform-espressif8266.

ivankravets avatar ivankravets commented on June 9, 2024

@nardev

  1. Do you use the latest PIO Core 3.5?
  2. Do you use the latest version of espressif8266 dev platform?

Please run

pio upgrade
pio update

from platform-espressif8266.

nardev avatar nardev commented on June 9, 2024

@ivankravets it's ok now. Works.. yes i always follow the latest pio

Thank you.

from platform-espressif8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.