Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5166

SDK • Re: pico_util/datetime errors

$
0
0
More updates:

Re-ran pico_setup.sh, it installed a bunch of stuff that is new for sdk v2, no difference

I pulled out the interface library where we have all our time-based stuff, the project compiles now. I'm not sure what to do with this info

Here's the cmakelist for that interface library p0time:

Code:

add_library(p0time INTERFACE)target_include_directories(p0time  INTERFACE ${CMAKE_CURRENT_LIST_DIR})target_link_libraries(p0time  INTERFACE    pico_stdlib    pico_time    p0i2c    p0id    hardware_rtc    )target_sources(p0time  INTERFACE    ${CMAKE_CURRENT_LIST_DIR}/time.c    ${CMAKE_CURRENT_LIST_DIR}/time.h)

Statistics: Posted by kristerj — Wed Jan 15, 2025 11:04 pm



Viewing all articles
Browse latest Browse all 5166

Trending Articles