• There are some very specific hacks for Bangle.js graphics: https://github.com/espruino/Espruino/blo­b/master/libs/graphics/lcd_st7789_8bit.h­#L52

    But I'd rather not have IFDEFs piled up on top of each other. I guess what we need is to have a more generic way of adding optimisations.

    If you want to do optimisation on the Graphics library it'd be great - but ideally try and optimise it such that it benefits everyone, not just one specific use case that you have to compile custom firmware for.


Avatar for Gordon @Gordon started