From 936ed202b19d0ca2843da586603cabefc2fc4179 Mon Sep 17 00:00:00 2001 From: Peter Harper Date: Mon, 6 Jan 2025 19:31:11 +0000 Subject: [PATCH] Fix bazel build issues --- src/rp2_common/pico_aon_timer/BUILD.bazel | 1 + test/pico_time_test/BUILD.bazel | 1 + test/pico_time_test/pico_time_test.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/rp2_common/pico_aon_timer/BUILD.bazel b/src/rp2_common/pico_aon_timer/BUILD.bazel index 6ceaf2e52..5bed7c852 100644 --- a/src/rp2_common/pico_aon_timer/BUILD.bazel +++ b/src/rp2_common/pico_aon_timer/BUILD.bazel @@ -10,6 +10,7 @@ cc_library( target_compatible_with = compatible_with_rp2(), deps = [ "//src/common/pico_util", + "//src/common/pico_time", "//src/rp2_common:hardware_regs", "//src/rp2_common:pico_platform", "//src/rp2_common/hardware_irq", diff --git a/test/pico_time_test/BUILD.bazel b/test/pico_time_test/BUILD.bazel index b7a437629..038738601 100644 --- a/test/pico_time_test/BUILD.bazel +++ b/test/pico_time_test/BUILD.bazel @@ -12,6 +12,7 @@ cc_binary( target_compatible_with = compatible_with_rp2(), deps = [ "//src/rp2_common/pico_stdlib", + "//src/rp2_common/pico_aon_timer", "//test/pico_test", ], ) diff --git a/test/pico_time_test/pico_time_test.c b/test/pico_time_test/pico_time_test.c index f0eed12aa..a9f5d7f08 100644 --- a/test/pico_time_test/pico_time_test.c +++ b/test/pico_time_test/pico_time_test.c @@ -397,4 +397,5 @@ static int issue_2148_test(void) { aon_timer_stop(); PICOTEST_END_SECTION(); #endif + return 0; }