The USB issue seems to be because I switched to using the -Os compile flags. No idea why it's so unreliable (some builds work, some don't!). I've just switched back to -O3 and tweaked the size down in other ways.
Thanks for tracking the leak down (it would have been from before) - it makes my life so much easier (just fixed it in a few minutes). Hopefully I've managed to so something about the odd characters too.
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.
The USB issue seems to be because I switched to using the
-Os
compile flags. No idea why it's so unreliable (some builds work, some don't!). I've just switched back to-O3
and tweaked the size down in other ways.Thanks for tracking the leak down (it would have been from before) - it makes my life so much easier (just fixed it in a few minutes). Hopefully I've managed to so something about the odd characters too.