Then the string constants eat RAM. I am "guessing" that some large portion of the missing RAM is used by strings.
A while back I switched printf to put the format string into flash. It's not trivial to do that with all strings because flash only supports word-aligned accesses, so you have to be careful.
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.
A while back I switched printf to put the format string into flash. It's not trivial to do that with all strings because flash only supports word-aligned accesses, so you have to be careful.