adafruit / Adafruit-ST7735-Library

This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
https://learn.adafruit.com/1-8-tft-display
564 stars 305 forks source link

Support the new Arduino UNO-R4 boards #187

Closed KurtE closed 1 year ago

KurtE commented 1 year ago

As mentioned on the Arduino forum, the library would not compile on the new boards. https://forum.arduino.cc/t/not-working-in-combination-with-adafruit-st7789/1145046

Adafruit_ST77xx.cpp:29:10: fatal error: wiring_private.h: No such file or directory
 #include "wiring_private.h"

So updated the conditional for the STM32_FEATHER to also not include it for these new boards.

I tried building for these two boards before and after the changes.

I built and ran the graphictest example sketch on the UNO R4 Wifi board I have with an Adafruit ST7789 display with the 320x240 and it works.

I tried building it for Teensy 4.1 and it still compiles.

leonpierre commented 1 year ago

I agree, the fix is working after these changes!

jmarsh12 commented 1 year ago

Thank you so much for this fix! This saved me so much time. Works like a charm now!

ladyada commented 1 year ago

thanks! :)