approximate cram target better in precursor staging environment

This commit is contained in:
bunnie 2024-05-23 16:51:20 +08:00
parent 84ef3ed694
commit 3fd383a7aa

View file

@ -6,7 +6,7 @@ pub use swap::*;
#[cfg(not(feature = "swap"))]
pub const RAM_SIZE: usize = utralib::generated::HW_SRAM_EXT_MEM_LEN;
#[cfg(feature = "swap")]
pub const RAM_SIZE: usize = utralib::generated::HW_SRAM_EXT_MEM_LEN / 2;
pub const RAM_SIZE: usize = 2 * 1024 * 1024;
pub const RAM_BASE: usize = utralib::generated::HW_SRAM_EXT_MEM;
/// Note that this memory test is "destructive" -- supend/resume will fail if it is enabled