If I'm building with PICO_BOARD pico, I need
However, that is an error with PICO_BOARD pico2:Is there some way I can conditionally add hardware_rtc to my target_link_libraries if I'm building for RP2040?
Code:
target_link_libraries(target INTERFACE#... hardware_rtc
However, that is an error with PICO_BOARD pico2:
Code:
[build] /usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: cannot find -lhardware_rtc: No such file or directory
Statistics: Posted by carlk3 — Wed Sep 11, 2024 1:51 am