mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup a warning; fix renode build
This commit is contained in:
parent
b329023091
commit
d7c3266ec6
2 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#[cfg(feature="precursor")]
|
||||
#[cfg(any(feature="precursor",feature="renode"))]
|
||||
mod precursor;
|
||||
#[cfg(feature="precursor")]
|
||||
#[cfg(any(feature="precursor",feature="renode"))]
|
||||
pub use precursor::*;
|
||||
|
||||
#[cfg(feature="cramium")]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
use crate::*;
|
||||
|
||||
pub const RAM_SIZE: usize = utralib::generated::HW_SRAM_EXT_MEM_LEN;
|
||||
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
|
||||
#[cfg(feature="platform-tests")]
|
||||
pub fn platform_tests() {
|
||||
use crate::*;
|
||||
let ram_ptr: *mut u32 = crate::platform::RAM_BASE as *mut u32;
|
||||
let sram_ptr: *mut u32 = 0x1000_0000 as *mut u32;
|
||||
use utralib::generated::*;
|
||||
|
|
|
|||
Loading…
Reference in a new issue