-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
more linker scripts for 4MB flash chips #4040
Comments
@everslick, check this #3722 comment |
thanks, so i wait until boards.txt.py is merged. but still, boards.txt.py does only create a hard coded list of memory layouts, doesn't it? but i see that a 4m2m config is already planned for inclusion. in the long run it would probably be best to be able to create arbitrary configs by specifying the flash size and the desired size of SPIFFS. (just thinking aloud here) |
Yes, it currently generates a hard coded list for boards and matching ldscripts files. |
I think this is already done, with @d-a-v's changes (i.e. 4m3m, 4m2m, 4m1m options, etc.). If not please could you reopen and explain what you're looking for? |
For 4MB flashes there are only two configurations supported: 1MB SPIFFS and 3MB SPIFFS.
When the binary size of 500KB is reached one is forced to switched from the bigger SPIFFS to the smaller SPIFFS configuration to still be able to use OTA updates. A few more options would allow for a finer grained binary size / spiffs size balance. at least a 2m2m config could be added.
The text was updated successfully, but these errors were encountered: