still compilation problem for Arduino Nano RP2040 connect (even with v2.5.11)
Opened this issue · 0 comments
Hello, same issue with Nano RP2040 connect on OLED screen 128x64 SSD1306 driver with both SPI or I2C communication protocol.
Each time I tried to compile an example from the library for a RP2040, I get the same compilation error from
"Adafruit_SSD1306.h".
`Alternatives for pgmspace.h: []
ResolveLibrary(pgmspace.h)
-> candidates: []
exit status 1
Compilation error: exit status 1`
I have read and checked the "missing" line has been added in the cpp file, the famous
( || defined(ARDUINO_ARCH_RP2040) . The current version of the library 2.5.11.
Board manager (Mbed OS Nano Boards - v4.1.5) is also up to date..
Hope you can hep me, thank you so much in advance if you have time and idea.
Here is the compiling error :
`loading library from /Users/cduchene/Documents/Arduino/libraries/ArduinoJson 2: invalid library: no header files foundloading library from /Users/cduchene/Documents/Arduino/libraries/Keyboard 2: invalid library: no header files found
FQBN: arduino:mbed_nano:nanorp2040connect
Using board 'nanorp2040connect' from platform in folder: /Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5
Using core 'arduino' from platform in folder: /Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5
Detecting libraries used...
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for Arduino_LSM6DSOX.h: [Arduino_LSM6DSOX@1.1.2]
ResolveLibrary(Arduino_LSM6DSOX.h)
-> candidates: [Arduino_LSM6DSOX@1.1.2]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
-> candidates: [Wire]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
-> candidates: [SPI]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for Adafruit_GFX.h: [Adafruit GFX Library@1.11.10]
ResolveLibrary(Adafruit_GFX.h)
-> candidates: [Adafruit GFX Library@1.11.10]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for Adafruit_I2CDevice.h: [Adafruit BusIO@1.16.1]
ResolveLibrary(Adafruit_I2CDevice.h)
-> candidates: [Adafruit BusIO@1.16.1]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
Alternatives for Adafruit_SSD1306.h: [Adafruit SSD1306 Wemos Mini OLED@1.1.2 Adafruit SSD1306@2.5.11]
ResolveLibrary(Adafruit_SSD1306.h)
-> candidates: [Adafruit SSD1306 Wemos Mini OLED@1.1.2 Adafruit SSD1306@2.5.11]
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /private/var/folders/tq/yppnqnf12lg_5xh82f8hwq240000gp/T/arduino/sketches/3C0593097B45F57D87BEB10DB28F2194/sketch/ssd1306_128x64_i2c.ino.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src/LSM6DSOX.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire/Wire.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI/SPI.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_SPITFT.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library/glcdfont.c -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp -o /dev/null
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp -o /dev/null
/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp:42:10: fatal error: pgmspace.h: No such file or directory
#include <pgmspace.h>
^~~~~~~~~~~~
compilation terminated.
/Users/cduchene/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/defines.txt @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT -I/Users/cduchene/Documents/Arduino/libraries/Arduino_LSM6DSOX/src -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/Wire -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/libraries/SPI -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306 -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated -I/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino/api/deprecated-avr-comp -iprefix/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/cores/arduino @/Users/cduchene/Library/Arduino15/packages/arduino/hardware/mbed_nano/4.1.5/variants/NANO_RP2040_CONNECT/includes.txt /Users/cduchene/Documents/Arduino/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp -o /dev/null
Alternatives for pgmspace.h: []
ResolveLibrary(pgmspace.h)
-> candidates: []
exit status 1
Compilation error: exit status 1`
Originally posted by @CedricDuchene in #263 (comment)