From 6ced9635f7b0a641d3443d83ff5a1bc7b575d713 Mon Sep 17 00:00:00 2001 From: yh-sb Date: Sat, 23 Nov 2024 18:38:19 +0200 Subject: [PATCH] Fix CMake build. hardware_watchdog depends from pico_bootrom due to header pico/bootrom.h BUILD.bazel also has this dependency. --- src/rp2_common/hardware_watchdog/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2_common/hardware_watchdog/CMakeLists.txt b/src/rp2_common/hardware_watchdog/CMakeLists.txt index 2577c75ba..6d19afe46 100644 --- a/src/rp2_common/hardware_watchdog/CMakeLists.txt +++ b/src/rp2_common/hardware_watchdog/CMakeLists.txt @@ -1,3 +1,3 @@ pico_simple_hardware_target(watchdog) -pico_mirrored_target_link_libraries(hardware_watchdog INTERFACE hardware_ticks) \ No newline at end of file +pico_mirrored_target_link_libraries(hardware_watchdog INTERFACE hardware_ticks pico_bootrom)