From 6ec47b6f1c2c6b117ee8f819ccccae544cc78c87 Mon Sep 17 00:00:00 2001 From: Gabriel Csapo Date: Fri, 30 Dec 2022 18:13:05 -0800 Subject: [PATCH] bug: ARDUINO_ARCH_RP2040 does not include the right pgmspace header --- Adafruit_SSD1306.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Adafruit_SSD1306.cpp b/Adafruit_SSD1306.cpp index 7a37698..a7ca65a 100644 --- a/Adafruit_SSD1306.cpp +++ b/Adafruit_SSD1306.cpp @@ -38,7 +38,10 @@ #ifdef __AVR__ #include -#elif defined(ESP8266) || defined(ESP32) || defined(ARDUINO_ARCH_RP2040) +#elif defined(ARDUINO_ARDUINO_NANO33BLE) || \ + defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040) +#include +#elif defined(ESP8266) || defined(ESP32) #include #else #define pgm_read_byte(addr) \