afiskon / stm32-ssd1306

STM32 library for working with OLEDs based on SSD1306, SH1106, SH1107 and SSD1309, supports I2C and SPI
https://eax.me/stm32-ssd1306/
MIT License
771 stars 213 forks source link

DMA support #75

Closed StefanvdPas closed 8 months ago

StefanvdPas commented 8 months ago

Very nice library! But for practical usability it would greatly benefit from DMA support. Now lots CPU cycles are wasted, but worse the loop in ssd1306_UpdateScreen() burns so much time that introduces much latency in a simple round robin schedule.

afiskon commented 8 months ago

Absolutely. Please feel free submitting a pull request.

StefanvdPas commented 8 months ago

Ok, let see if I can find some time. I suppose it will be handy to add a conditional compilations switch?