-
• #2
Hmm - I'm not sure why the minification does that...
I'll try and look into this next week - the fact it says
-4
makes me think that somehow it's got confused about how much flash memory it has available. -
• #3
Is there a way to show the amount of memory avaliable?
-
• #4
process.memory()
- but as far as I know that won't show how much flash is available. -
• #5
Yeah, I found these commands, it doesn't show flash.
-
• #6
To be honest there's nothing you can really do about it from Espruino itself - it'll need rebuilding...
-
• #7
I downloaded from the "cutting edge" builds espruino_1v86.206_microbit.hex and now it works fine, I can save code and run code on it. I see someone made a fix in github.
-
• #8
Yes, I literally did it about an hour ago. Glad it's fixed for you!
-
• #9
Yep, thanks!
If I use espruino 1v86 on my microbit you get this error when calling save:
however if I use espruino 1v85 I can save files all day long. for 1v86 i even enabled the minification in the web IDE which said it minifed from 41bytes to 8, this still didnt allow the save in 1v86, only works in 1v85.
EDIT: If i use any form of minification with 1v86 it fails because it changes things like show(1); to ho(1);