Gendriver - generic middle layer device drives

Gendriver implements single-file device drivers on the middle layer, that is: it knows how to tell your display to draw pixels, but doesn't know how to program your i2c registers or how to render text. Less is more: implementing the middle layer only provides rare flexibility, see motivation.

Available under the 3-clause BSD license. Portable: Implemented in C99, zero external dependency beyond libc.

Downloads & contact

Driver state



device source flags state, comments
SSD1306 display/ssd1306.h Sr tested on PI+Linux and ST MCU with 128*64 and 128*32 devices
ST7735 display/st7735.h Sw tested on ST MCU