Using STM32's Hardware SPI to drive a ST7789 or ST7735 display.
Forked from Floyd-Fish
Added my modified uGUI version.
This fork is a lot faster, specially on filling with the DMA (13x faster).
Everything has been optimized, font drawing is also a lot better due pixel packing, counts the same-color consecutive pixels,
then draw them in a single operation, thus removing a lot of overhead.
The projects works right away, use STM32 CUBE IDE (Import... Exiting project... Select any of the demos).
Tested on STM32F103 and STM32F411, using a 135x240 4-wire SPI screen and others.
It can achieve 60FPS with 32MHZ SPI clock.
Configuration is done in lcd.h
For more information, check the Original ST7789 project and uGUI page.
To convert fonts, use my modified ttf2uGUI version. I've also compiled it for windows (ttf2ugui-win.zip).
Bitmaps can be converted with Lcd image converter, use 16 bit packing, Little endian.