adafruit / Adafruit_ILI9341

Library for Adafruit ILI9341 displays
415 stars 283 forks source link

Optimisation for RP2040 #70

Open Bodmer opened 3 years ago

Bodmer commented 3 years ago

These changes plus a companion pull request for Adafruit_GFX provide performance benefits for the RP2040 based boards when used in hardware SPI mode.

I suspect this pull needs to be refactored since SPI code has been introduced herein which breaks the partioning with Adafruit_GFX library. Also, although this works with Earle Philhower's Arduino core and calls low level SPI code, it may not be compatible with the "official" Arduino RP2040 core.

image

ladyada commented 3 years ago

yah so 1) we would definitely want to wait till the arduino core is out and 2) we'd prefer to stick any optimizations into SPITFT.cpp and minimize the complexity of this library becaues otherwise we'll have to do the same thing for HX8375, ST7789, GC901 etc... :)