Comments (5)
the ESP maps only 1MB of the flash and that is the reason such setting does not exist :) Only 1MB can be used for sketch
from arduino-esp8266fs-plugin.
It's possible to do that, but you won't be able to run code which is above 1M mark. So this may be useful for OTA updates if the size of your firmware exceeds 512k, but I haven't seen any project which approaches this size yet.
If you do that, then yes, you need to create a linker script variant and add an entry to boards.txt.
from arduino-esp8266fs-plugin.
Running out of free space for OTA update was one of the things I was thinking about..but it's a concern that's probably some way off because my .bin is currently 312,168 bytes when built.
Learning about how to create a new linker script variant .ld sounds interesting though. Do you know if there's any info about how to do this anywhere?
from arduino-esp8266fs-plugin.
how about this? http://wiki.jackslab.org/images/Esp8266-flash-layout-ota-4096.png Is this configuration possible with Arduino IDE?
from arduino-esp8266fs-plugin.
Hi, please see the attached linker script for 2M/4M variant. Also there is need to change boards.txt (now probably by some python script) with this:
generic.menu.FlashSize.4M2M=4M (2M SPIFFS)
generic.menu.FlashSize.4M2M.build.flash_size=4M
generic.menu.FlashSize.4M2M.build.flash_ld=eagle.flash.4m2m.ld
generic.menu.FlashSize.4M2M.build.spiffs_start=0x200000
generic.menu.FlashSize.4M2M.build.spiffs_end=0x3FB000
generic.menu.FlashSize.4M2M.build.spiffs_blocksize=8192
generic.menu.FlashSize.4M2M.build.spiffs_pagesize=256
generic.menu.FlashSize.4M2M.upload.maximum_size=1044464
from arduino-esp8266fs-plugin.
Related Issues (20)
- arduino ide 2.x version support
- No files uploaded on the D1 mini pro HOT 4
- ...\Arduino\Sketchbooks\tools\ESP8266FS\tool\
- SPIFFS Upload failed
- SPIFFS Create Failed! on Wemos D1 mini Pro HOT 1
- SPIFFS file path upload error HOT 2
- [feature request] binary install
- SPIFFS is deprecated, switch to LittleFS? HOT 1
- SPIFFS Error: esptool not found! HOT 2
- .jar file not there after extraction
- Sketch Data Download
- SPIFFS Upload Failed HOT 2
- idea to improve
- Linux(Manjaro) - where to unzip ESP8266FS-0.5.0.zip to make it available
- where to unzip ESP8266FS-0.5.0.zip to make it available HOT 1
- Web UI up, but no control on the lamps. HOT 3
- the esp8266fs file isn't showing up in the tools option HOT 5
- esp
- Failed to connect to ESP8266: Invalid head of packet (0x08)
- The plugin does not show up in a menu HOT 4
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 arduino-esp8266fs-plugin.