Skip to content

Compatibility with RP2350 when using RISC-V cores.#291

Merged
tyeth merged 1 commit intoadafruit:masterfrom
JChristensen:dev
Jun 24, 2025
Merged

Compatibility with RP2350 when using RISC-V cores.#291
tyeth merged 1 commit intoadafruit:masterfrom
JChristensen:dev

Conversation

@JChristensen
Copy link
Copy Markdown
Contributor

Library worked OK on RP2040 (Raspberry Pi Pico W) and RP2350 (Raspberry Pi Pico 2W) when using the ARM cores.
When using the RP2350 RISC-V cores, the compiler gave the following error:

sketchbook/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp:54:10: fatal error: util/delay.h: No such file or directory
   54 | #include <util/delay.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Raspberry Pi Pico 2W.

Tested with Arduino 1.8.19 and the Arduino-Pico core 4.5.4.

Copy link
Copy Markdown
Member

@tyeth tyeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, tested with Arduino IDE 2.3.6 + Earle core 4.6.0, thanks for the contribution!

@tyeth tyeth merged commit 03c96db into adafruit:master Jun 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants