-
Notifications
You must be signed in to change notification settings - Fork 425
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
Firmware size problem #189
Comments
We can use 2/2 option as well, i do not know if it is hit the main code base on esp8266 core. |
Unfortunately, your remark is relevant, it really is not a solution. |
You are right about the sketch size, proprietary boot loader is limiting the sketch size to be at most 1MB but does not limit the spiffs or ota size. https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld/eagle.flash.4m2m.ld |
Also there is a possibility to do the OTA update with SPIFFS, but i did not go too deep into that. |
Maybe it can be more convenient way to solve OTA problem, in that case you do not need to spare a complete 1MB flash size for it, but the user must make space for update if the logs are full. |
I believe i can make it to version 1.0.0, hopefully :) |
IT WORKS!
However - the status page in the web interface reported that Free Flash is 1568768 ! |
Yes i used it before, i just wanted to keep it under 512kb, so i switched back to 4m1m |
I understand, but now it seems that keeping the 512kb limit will be very difficult now. |
I am working on SPIFFS solution, i am close, need 1-2 hours. |
Great, I'm curious about it. |
After digging into SPIFFS update, i realized that the Updater class is not capable of that. |
So until it is resolved (hopefully it will be solved), we will have to use a 2/2 configuration? |
I do not think it is going to be implemented on Core anytime soon, so yes 2/2 configuration is way to go. |
Right now I have found, that (in the current version) RDM6300 only works,
when DEBUG is defined. This is because the command Serial.begin(9600) is inside the #ifdef/#endif block.
And that's the problem. When I add Serial.begin(9600), the firmware size is too big (and prevents OTA updates).
It is clear that it is necessary to optimize the code. For example, we can optimize the selectors in esprfid.js (as @nardev suggested).
However, unfortunately, I do not have enough experience with jQuery and I am not the most suitable person for this task.
Here is probably another option. Instead of the 1M / 3M configuration, we could use the 3M / 1M configuration. Obviously, this brings other limitations ...
The text was updated successfully, but these errors were encountered: