Yes. If you give it too much the build will fail. Removing GRAPHICS gives me similar numbers. Also when adding back tab complete (i.e just removing debugger and keep everything else in) I can still have 5 pages. This is not so bad after all :-)
EDIT: Also if you would enable Flash module too you could keep some space for Storage and the rest is automatically available for Flash - which allows saving pages directly. For some use cases saving/erasing pages directly to store data might make better sense? See src/jswrap_flash.c the getFree method there should figure out free space automatically.
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.
Yes. If you give it too much the build will fail. Removing GRAPHICS gives me similar numbers. Also when adding back tab complete (i.e just removing debugger and keep everything else in) I can still have 5 pages. This is not so bad after all :-)
EDIT: Also if you would enable Flash module too you could keep some space for Storage and the rest is automatically available for Flash - which allows saving pages directly. For some use cases saving/erasing pages directly to store data might make better sense? See src/jswrap_flash.c the getFree method there should figure out free space automatically.