Now I would like to add the setFontVector to the binary, even if it is restricted because of low flash memory. How could I achieve that? It seems that it is not just a matter of removing the line "ifndef" : "SAVE_ON_FLASH" in /libs/graphics/jswrap_graphics.c. . .
OK actually this seems to be the way to go.... By removing this instruction, I had to remove here and there some #ifdef SAVE_ON_FLASH in order to compile without errors. But now the linker tells that the linked binary is too big to fit in flash... Hmm, that's why SAVE_ON_FLASH makes sense ^^. Anyway, with or without setFontVector, having Espruino on the wrist is very cool! Even if I have still no idea what to build with that... hum....
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.
OK actually this seems to be the way to go.... By removing this instruction, I had to remove here and there some
#ifdef SAVE_ON_FLASH
in order to compile without errors. But now the linker tells that the linked binary is too big to fit in flash... Hmm, that's whySAVE_ON_FLASH
makes sense ^^. Anyway, with or withoutsetFontVector
, having Espruino on the wrist is very cool! Even if I have still no idea what to build with that... hum....