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; }