@tve I was trying to think of why all the RAM would disappear when the graphics library got included. It'll be the bitmap and vector fonts - specifically:
Could we maybe have a READ_CONST_UINT8 macro that we can use when accessing data that we think might be in flash memory? On ARM it could default to a normal access, but on ESP8266 it could load 32 bits and shift to get the right byte.
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.
@tve I was trying to think of why all the RAM would disappear when the graphics library got included. It'll be the bitmap and vector fonts - specifically:
Could we maybe have a
READ_CONST_UINT8
macro that we can use when accessing data that we think might be in flash memory? On ARM it could default to a normal access, but on ESP8266 it could load 32 bits and shift to get the right byte.It'd simplify the whole
memoryArea
thing too.