Adafruit_SSD1306
Adafruit_SSD1306 copied to clipboard
Cannot compile for Arduino Nano RP2040 Connect
I have the same issue as @nschurando and @ggerganov. I'm using the Arduino Nano RP2040 Connect with the Arduino Mbed OS Nano Boards package in Arduino IDE 1.8.13. It won't compile with
#elif defined(ESP8266) || defined(ESP32) || defined(ARDUINO_ARCH_RP2040)
on line 40/41 in the CPP file. Changing that line to #elif defined(ESP8266) || defined(ESP32)
fixes the issue.
Originally posted by @CeruleanMars in https://github.com/adafruit/Adafruit_SSD1306/issues/240#issuecomment-1451984516