Quantcast
Viewing all articles
Browse latest Browse all 5102

SDK • Re: pico_util/datetime errors

Are you able to compile the hello_rtc.c ? I was able to do so with SDK 2.1.0, maybe try it first.
Built out-of-tree I can build for RP2040, but not for RP235X -

Code:

/home/pi/mypico/hello_rtc/hello_rtc.c:8:10: fatal error: hardware/rtc.h: No such file or directory    8 | #include "hardware/rtc.h"      |          ^~~~~~~~~~~~~~~~
Fair enough, "RTC was replaced with "POWMAN timer" on RP2350" but I don't know how I should change 'hello_rtc.c' and 'CMakeLists.txt' and couldn't find any 'hello_rtc' example for the RP235X.

Neither a forum search nor Googling gave me a "do this ..." answer.

Statistics: Posted by hippy — Wed Jan 15, 2025 8:08 pm



Viewing all articles
Browse latest Browse all 5102

Trending Articles