adafruit / Adafruit-GFX-Library

Adafruit GFX graphics core Arduino library, this is the 'core' class that all our other graphics libraries derive from
https://learn.adafruit.com/adafruit-gfx-graphics-library
Other
2.32k stars 1.52k forks source link

Fixed SPI displays work with LGT8fx based boards #428

Open h4tr3d opened 1 year ago

h4tr3d commented 1 year ago

Tested with BSP and ILI9341 SPI based display:

Issue: SPI based displays work well with BitBang mode, but does not work with HW SPI.

Root cause: AVR_WRITESPI() macrosses uses direct access to the HW but LGT8fx has a little bit different implementation. Also, standard implementation sounds like good for default use.

Thank you for creating a pull request to contribute to Adafruit's GitHub code! Before you open the request please review the following guidelines and tips to help it be more easily integrated:

Thank you again for contributing! We will try to test and integrate the change as soon as we can, but be aware we have many GitHub repositories to manage and can't immediately respond to every request. There is no need to bump or check in on a pull request (it will clutter the discussion of the request).

Also don't be worried if the request is closed or not integrated--sometimes the priorities of Adafruit's GitHub code (education, ease of use) might not match the priorities of the pull request. Don't fret, the open source community thrives on forks and GitHub makes it easy to keep your changes in a forked repo.

After reviewing the guidelines above you can delete this text from the pull request.