Skip to content
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

Full repo build doesn't work on rp2350 #1007

Open
peardox opened this issue Oct 1, 2024 · 3 comments
Open

Full repo build doesn't work on rp2350 #1007

peardox opened this issue Oct 1, 2024 · 3 comments

Comments

@peardox
Copy link

peardox commented Oct 1, 2024

The removal of the RTC in Pico2 is causing some demos to fail on these devices

Attempting a full repo build with Ninja cases this error in breakout_encoder_wheel

/home/simon/pimoroni-pico/examples/breakout_encoder_wheel/clock/clock.cpp:6:10: fatal error: hardware/rtc.h: No such file or directory
6 | #include "hardware/rtc.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
[778/15238] Building CXX object examples/breakout_encoder_...se_game.dir///__/drivers/ioexpander/ioexpander.cpp.obj
ninja: build stopped: subcommand failed.

@Gadgetoid
Copy link
Member

There’s a fix for this - and other issues with SDK 2.0.0 - in one of the open PRs here- just requires an include change. I’ve been quite focussed in on the MicroPython stuff so it hasn’t made its way into main yet.

AIUI there’s another SDK revision coming this month… maybe… possibly… so I’m not in a tremendous hurry 😬

@peardox
Copy link
Author

peardox commented Oct 1, 2024

OK, the Ninja build broke when I was testing my PR for pico_display_28 + SPI so I just built mine with Make to test and wanted to point it out in case it was unreported

@Gadgetoid
Copy link
Member

Collating those fixes here - #1008

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

No branches or pull requests

2 participants