@Wilberforce
I'm wondering if there is a better area for the saved code rather than the end of the application user Space?
ESP_FLASH_MAX is reduced to have extra pages for code and wifi
afaik, this is the same technic that is used now for ESPs
@Gordon
Also, with the flash map - I don't know if all 1MB is really needed at the moment?
Me too, but there are only a few KB left and as there are still improvements in Espruino, how long would it last until it does not fit in anymore?
Using "4MB:1024/1024" still offers additional 2MB flash space
Is it possible to calculate how many space is needed by save() in worst case?
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Wilberforce
ESP_FLASH_MAX is reduced to have extra pages for code and wifi
afaik, this is the same technic that is used now for ESPs
@Gordon
Me too, but there are only a few KB left and as there are still improvements in Espruino, how long would it last until it does not fit in anymore?
Using "4MB:1024/1024" still offers additional 2MB flash space
Is it possible to calculate how many space is needed by save() in worst case?