From 914dcba4d7e362c85d5a6026732dbf55cff047a1 Mon Sep 17 00:00:00 2001 From: Brandon Ros Date: Tue, 22 Aug 2023 19:50:12 -0400 Subject: [PATCH] cyw43_perf firmware lengths --- tests/rp/src/bin/{cyw43-perf.rs => cyw43_perf.rs} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/rp/src/bin/{cyw43-perf.rs => cyw43_perf.rs} (99%) diff --git a/tests/rp/src/bin/cyw43-perf.rs b/tests/rp/src/bin/cyw43_perf.rs similarity index 99% rename from tests/rp/src/bin/cyw43-perf.rs rename to tests/rp/src/bin/cyw43_perf.rs index 1c665f95..4abf8028 100644 --- a/tests/rp/src/bin/cyw43-perf.rs +++ b/tests/rp/src/bin/cyw43_perf.rs @@ -49,8 +49,8 @@ async fn main(spawner: Spawner) { // cyw43 firmware needs to be flashed manually: // probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x101b0000 // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x101f8000 - let fw = unsafe { core::slice::from_raw_parts(0x101b0000 as *const u8, 230321) }; - let clm = unsafe { core::slice::from_raw_parts(0x101f8000 as *const u8, 4752) }; + let fw = unsafe { core::slice::from_raw_parts(0x101b0000 as *const u8, 231077) }; + let clm = unsafe { core::slice::from_raw_parts(0x101f8000 as *const u8, 984) }; let pwr = Output::new(p.PIN_23, Level::Low); let cs = Output::new(p.PIN_25, Level::High);