-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
If I have 4MB module (esp-12). Need more spiff memory. >256 #197
Comments
You can just set SPI_SIZE = 4M in Makefile configuration. |
Something comes out. Files not included. |
What SDK version ? |
latest. |
please, help. |
How you upload files? Spiffy, FTP, or something else? |
I upload through singing Spiffy and FTP.
When I upload files via FTP they do not fit. |
How have you been checking out what type of Flash You have? See my example #201 |
I have ESP12 and, SPI_SIZE = 4M "fs.start: size:3824 Kb, offset:0x40000" , so its 3.8 Mb spiff file system You have only 196 Kb |
Change in /Sming/Makefile-project.mk line: to: |
first: find file Makefile-project.mk in SmingFramework project
|
SPI_MODE=dio for large flash, usually. |
The only way is like in my example at #201 |
As far as I can tell SPIFF uses memory mapped SPI access, not direct SPI Read, so the combined user code and SPIFF must fit in the 1MB boundary. The SPIFF routines would need to be re-written to use direct SPI access to support the above example of 3.8MB SPIFFs |
I have does not work!
Build project (rebuild, flashinit, flashboot and flash)
What am I doing wrong ? |
You must first rebulid sming, did You ? |
How do I do this? |
You should rebuild your project too, and add SPI configuration details to makefile before that. |
can you create "How to slove this problem "(step-by-step) because i got this problem also. |
|
@STASIUK were you able to resolve it? What was the list of actions that you took? |
I also ran into the same issue. The latest spiffy from https://github.com/xlfe/spiffy is hardcoded to 192KB max size. I ended up using a forked version https://github.com/alonewolfx2/spiffy. |
I have 4MB module (esp-12) and my files do not fit in 256 KB.
Can I increase the spiff memory size for my module(esp-12). And as?
Maybe somewhere in the settings need to change?
The text was updated successfully, but these errors were encountered: