-
Notifications
You must be signed in to change notification settings - Fork 993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile for Arduino Nano RP2040 Connect #263
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 `Alternatives for pgmspace.h: [] Compilation error: exit status 1` I have read and checked the "missing" line has been added in the cpp file, the famous 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 Detecting libraries used... Compilation error: exit status 1` |
@CedricDuchene Did you delete "|| defined(ARDUINO_ARCH_RP2040)" from the CPP file? If not, try deleting that part of the if statement, saving the CPP file, restarting the IDE and then recompiling your script. |
Thank you ! you were right ! Thank you, maybe must be included in next release of the library ? |
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 #240 (comment)
The text was updated successfully, but these errors were encountered: