mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add artybio target, remove debug prints that don't map to the target
This commit is contained in:
parent
b3a04e349a
commit
51c5fc75be
3 changed files with 4 additions and 5 deletions
|
|
@ -8,9 +8,7 @@ edition = "2021"
|
|||
[dependencies]
|
||||
log = "0.4.14"
|
||||
defmt = { version = "0.3", optional = true }
|
||||
utralib = { version = "0.1.25", default-features = false, features = [
|
||||
"cramium-soc",
|
||||
] }
|
||||
utralib = { version = "0.1.25", default-features = false }
|
||||
|
||||
[target.'cfg(target_os = "xous")'.dependencies]
|
||||
xous = "0.9.66"
|
||||
|
|
@ -18,6 +16,7 @@ xous = "0.9.66"
|
|||
[features]
|
||||
cramium-soc = ["utralib/cramium-soc"]
|
||||
cramium-fpga = ["utralib/cramium-fpga"]
|
||||
artybio = ["utralib/artybio"]
|
||||
precursor = []
|
||||
hosted = []
|
||||
renode = []
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ impl<'a> BioI2C<'a> {
|
|||
// stop all the machines, so that code can be loaded
|
||||
bio_ss.bio.wo(utra::bio_bdma::SFR_CTRL, 0x0);
|
||||
let code = i2c_driver();
|
||||
print!("I2C code length: {} bytes\r", code.len());
|
||||
// print!("I2C code length: {} bytes\r", code.len());
|
||||
bio_ss.load_code(code, 0, BioCore::Core0);
|
||||
|
||||
if hs {
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ impl BioSharedState {
|
|||
let word: u32 = u32::from_le_bytes(chunk.try_into().unwrap());
|
||||
let rbk = self.imem_slice[core as usize][i + offset];
|
||||
if rbk != word {
|
||||
print!("{:?} expected {:x} got {:x} at {}\r", core, word, rbk, i + offset);
|
||||
// print!("{:?} expected {:x} got {:x} at {}\r", core, word, rbk, i + offset);
|
||||
return Err(BioError::CodeCheck(i + offset));
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue