Comments (11)
Fixed in 5a8b3ec
Please pio update
from platform-espressif8266.
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.
facing same issue esp12e.json already has eagle instead of esp8266
from platform-espressif8266.
It seems like a bug in the platform files.
- You need to create a folder "ldscripts" under "espiressif8266_stage", and copy the ".ld" files from "framework-arduinoespressif8266xxxxx/tools/sdk/ld" into ldscripts.
- 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.
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.
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.
getting same error again... tried -Wl,-Teagle.flash.1m64.ld
and pio updates.. nothing helps.. any clue???
from platform-espressif8266.
@nardev do you use the latest dev/platform of espressif8266? Please run pio update
command.
How does look your platformio.ini
?
from platform-espressif8266.
I do.. i managed it somehow with build_flags = -Wl,-Tesp8266.flash.4m.ld
from platform-espressif8266.
- Do you use the latest PIO Core 3.5?
- Do you use the latest version of espressif8266 dev platform?
Please run
pio upgrade
pio update
from platform-espressif8266.
@ivankravets it's ok now. Works.. yes i always follow the latest pio
Thank you.
from platform-espressif8266.
Related Issues (20)
- Update Arduino Core to 3.1.0 HOT 1
- Update Arduino Core to 3.1.1
- Clang as the compiler? HOT 2
- Erasing flash memory on every upload platformIO HOT 3
- Upload Filesystem Image OTA fails for ESP8266 d1_mini board
- Board Lifely Agrumino Lemon unknow HOT 1
- Issue with multiple targets
- Bearssl The cipher AES128-SHA is not supported for TLSv1.2
- Arduino + ESP8266-RTOS-SDK HOT 1
- error: can't read source directory *** [.pio\build\esp32cam\spiffs.bin] Error 1 // I Need it Quick HOT 1
- **Feature Request** Please add Board AZ-Delivery D1 Mini ESP8266MOD 12-F HOT 1
- Screen gets stuck at the 'Please Wait' window HOT 1
- request board esp8266_deauther HOT 1
- unable to build project error: unknown opcode or format name 'typedef' HOT 1
- Neovim + platformio Unknown argument -mtext-section-literals
- PIO builder on espressif8266 platform (xtensa gcc) fails if CPLUS_INCLUDE_PATH env variable is set
- arduino: clangtidy breaks if --extra-arg=-std=c++17 is passed
- Debugging with GDBStub hangs
- Program size check does not respect `board_upload.maximum_size` from `platformio.ini`
- Monitor_filter not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform-espressif8266.