From fd9f85ef58022a0c85be212b60d9c7c9600997ff Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 30 Apr 2024 17:13:21 +0800 Subject: [PATCH] adjust speeds to reflect actual spec --- loader/src/platform/cramium/swap.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loader/src/platform/cramium/swap.rs b/loader/src/platform/cramium/swap.rs index 319756bd0..5fe9ed473 100644 --- a/loader/src/platform/cramium/swap.rs +++ b/loader/src/platform/cramium/swap.rs @@ -178,8 +178,8 @@ impl SwapHal { let mut flash_spim = unsafe { Spim::new_with_ifram( SpimChannel::Channel0, - 100_000_000, - 100_000_000, + 50_000_000, + 50_000_000, SpimClkPol::LeadingEdgeRise, SpimClkPha::CaptureOnLeading, SpimCs::Cs0, @@ -196,8 +196,8 @@ impl SwapHal { let mut ram_spim = unsafe { Spim::new_with_ifram( SpimChannel::Channel0, - 100_000_000, - 100_000_000, + 50_000_000, + 50_000_000, SpimClkPol::LeadingEdgeRise, SpimClkPha::CaptureOnLeading, SpimCs::Cs1,