adafruit / Adafruit_TouchScreen

Arduino library for 4-wire resistive touchscreens
http://www.adafruit.com/index.php?main_page=product_info&cPath=35&products_id=333
Other
272 stars 212 forks source link

ESP8266 support is now broken #26

Closed sblantipodi closed 4 years ago

sblantipodi commented 4 years ago

Hi, in the latest commit @siddacious broke most display libraries for ESP8266 in the touchscreen.h file.

#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(TEENSYDUINO) || defined(__AVR_ATmega2560__)
typedef volatile uint8_t RwReg;
#endif
#if defined(ARDUINO_STM32_FEATHER)
typedef volatile uint32 RwReg;
#endif
#if defined(NRF52_SERIES) || defined(ESP32) || defined(ARDUINO_ARCH_STM32)
typedef volatile uint32_t RwReg;
#endif

#if defined (__AVR__) || defined(TEENSYDUINO) || defined(ARDUINO_ARCH_SAMD)
  #define USE_FAST_PINIO
#endif

as you can see here, you removed the ESP8266.

I see that there is one commit that fixes the problem, when will we see the release?

Please release an hotfix.

siddacious commented 4 years ago

https://github.com/adafruit/Adafruit_TouchScreen/releases/tag/1.0.5