Quick update on this - -O0 works but -O1 doesn't, so presumably it's one of the optimisations.
However compiling without any optimisations sucks - you have to disable pretty much everything to get it to build. Until we find out what the issue is I think it's best to use the older compiler.
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.
Quick update on this -
-O0
works but-O1
doesn't, so presumably it's one of the optimisations.However compiling without any optimisations sucks - you have to disable pretty much everything to get it to build. Until we find out what the issue is I think it's best to use the older compiler.