mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix test escape
This commit is contained in:
parent
49dcc7aaa2
commit
d616befca7
1 changed files with 1 additions and 2 deletions
|
|
@ -1197,7 +1197,6 @@ impl Repl {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "board-baosec")]
|
#[cfg(feature = "board-baosec")]
|
||||||
"erase_swap" => {
|
"erase_swap" => {
|
||||||
use bao1x_api::{baosec::PDDB_LEN, baosec::PDDB_ORIGIN};
|
|
||||||
use bao1x_hal::{
|
use bao1x_hal::{
|
||||||
board::SPINOR_BULK_ERASE_SIZE,
|
board::SPINOR_BULK_ERASE_SIZE,
|
||||||
ifram::IframRange,
|
ifram::IframRange,
|
||||||
|
|
@ -1249,7 +1248,7 @@ impl Repl {
|
||||||
crate::println!("Erasing from {:x}-{:x}...", 0, 2 * SPINOR_BULK_ERASE_SIZE);
|
crate::println!("Erasing from {:x}-{:x}...", 0, 2 * SPINOR_BULK_ERASE_SIZE);
|
||||||
for addr in (0..2 * SPINOR_BULK_ERASE_SIZE).step_by(SPINOR_BULK_ERASE_SIZE as usize) {
|
for addr in (0..2 * SPINOR_BULK_ERASE_SIZE).step_by(SPINOR_BULK_ERASE_SIZE as usize) {
|
||||||
crate::println!(" {:x}...", addr);
|
crate::println!(" {:x}...", addr);
|
||||||
flash_spim.flash_erase_block(addr, SPINOR_BULK_ERASE_SIZE as usize);
|
flash_spim.flash_erase_block(addr as usize, SPINOR_BULK_ERASE_SIZE as usize);
|
||||||
}
|
}
|
||||||
crate::println!("...done!");
|
crate::println!("...done!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue