Skip to content
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

Missing eagle.flash.16m.ld #9187

Open
jwrw opened this issue Aug 1, 2024 · 1 comment
Open

Missing eagle.flash.16m.ld #9187

jwrw opened this issue Aug 1, 2024 · 1 comment

Comments

@jwrw
Copy link
Contributor

jwrw commented Aug 1, 2024

[Issue will only be an problem for 16M boards]

The linker file packages/esp8266/hardware/esp8266/3.1.2/tools/sdk/ld/eagle.flash.16m.ld is missing and is required for the Flash configuration 'FS:none'. The eagle.flash.16m14m.ld and eagle.flash.16m15m.ld files are there for the 'FS:14M' and 'FS:15M' but unlike the ld files for every other size of board there is no eagle.flash.16m.ld. Python bug???

Verified on a 'Wemos D1 Mini Pro'. For configuration 'FS:none' the sketch fails during the linker phase of the build.

Arduino IDE: 2.3.2
esp8266: 3.1.2

@idolpx
Copy link
Contributor

idolpx commented Sep 20, 2024

I was curious about this too and in my research I discovered that the max firmware size that can be mapped into memory on the ESP8266 is 1MB.

With that being the case having an "eagle.flash.16m.ld" script would be exactly the same as the other scripts except that the spiffs partition would be 0 bytes. It wouldn't make any more of the flash available to grow the firmware.

That being said you can use either of the other two scripts to partition the flash and then you at least have the option of using some of the flash for storage.

Please see the following for more info.

#6681

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

No branches or pull requests

3 participants