aboutsummaryrefslogtreecommitdiff
path: root/tests/rp
diff options
context:
space:
mode:
author1-rafael-1 <[email protected]>2025-05-01 22:23:14 +0200
committer1-rafael-1 <[email protected]>2025-05-01 22:23:14 +0200
commita33e7172f6bf7dc9590432dd62c2b71d0215d99d (patch)
tree17bc7ead16ba24dca89974078f20223d7a788495 /tests/rp
parent561356f68ab2d3d6fbe1f85245eb320dbc3e59f0 (diff)
make ci happy
Diffstat (limited to 'tests/rp')
-rw-r--r--tests/rp/src/bin/overclock.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/rp/src/bin/overclock.rs b/tests/rp/src/bin/overclock.rs
index d6d6062f2..e4845a55f 100644
--- a/tests/rp/src/bin/overclock.rs
+++ b/tests/rp/src/bin/overclock.rs
@@ -6,7 +6,9 @@ teleprobe_meta::target!(b"rpi-pico");
6#[cfg(feature = "rp235xb")] 6#[cfg(feature = "rp235xb")]
7teleprobe_meta::target!(b"pimoroni-pico-plus-2"); 7teleprobe_meta::target!(b"pimoroni-pico-plus-2");
8 8
9use defmt::{assert, assert_eq, info}; 9use defmt::info;
10#[cfg(feature = "rp2040")]
11use defmt::{assert, assert_eq};
10use embassy_executor::Spawner; 12use embassy_executor::Spawner;
11use embassy_rp::clocks; 13use embassy_rp::clocks;
12#[cfg(feature = "rp2040")] 14#[cfg(feature = "rp2040")]
@@ -21,7 +23,10 @@ const COUNT_TO: i64 = 10_000_000;
21 23
22#[embassy_executor::main] 24#[embassy_executor::main]
23async fn main(_spawner: Spawner) { 25async fn main(_spawner: Spawner) {
26 #[cfg(feature = "rp2040")]
24 let mut config = Config::default(); 27 let mut config = Config::default();
28 #[cfg(not(feature = "rp2040"))]
29 let config = Config::default();
25 30
26 // Initialize with 200MHz clock configuration for RP2040, other chips will use default clock 31 // Initialize with 200MHz clock configuration for RP2040, other chips will use default clock
27 #[cfg(feature = "rp2040")] 32 #[cfg(feature = "rp2040")]