reminder to self about some tech debt

This commit is contained in:
bunnie 2024-05-24 23:57:47 +08:00
parent 0877b9b274
commit 8d0a1f2ae6

View file

@ -6,6 +6,8 @@ pub use swap::*;
#[cfg(not(feature = "swap"))]
pub const RAM_SIZE: usize = utralib::generated::HW_SRAM_EXT_MEM_LEN;
#[cfg(feature = "swap")]
// also update in services/xous-susres/src/main.rs @ 157 to adjust where the clean suspend page goes...
// probably should fix that to be linked to this more seamlessly somehow.
pub const RAM_SIZE: usize = 2 * 1024 * 1024;
pub const RAM_BASE: usize = utralib::generated::HW_SRAM_EXT_MEM;