mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
start to remove heapless and commit to libstd flow
This commit is contained in:
parent
cabcce9ab2
commit
34d44ee9e7
6 changed files with 15 additions and 13 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -425,7 +425,6 @@ name = "com"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"com_rs-ref",
|
||||
"heapless 0.7.0",
|
||||
"log",
|
||||
"log-server",
|
||||
"num-derive",
|
||||
|
|
|
|||
|
|
@ -5,8 +5,13 @@ REM cargo xtask minimal precursors/soc.svd
|
|||
|
||||
CertUtil -hashfile precursors/bbram-test1.nky MD5
|
||||
CertUtil -hashfile precursors/soc_csr.bin MD5
|
||||
CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/loader.bin MD5
|
||||
CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/xous.img MD5
|
||||
scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-none-elf/release/xous.img target/riscv32imac-unknown-none-elf/release/loader.bin precursors/soc_csr.bin precursors/bbram-test1.nky pi@10.0.245.90:code/precursors/
|
||||
|
||||
CertUtil -hashfile target/riscv32imac-unknown-xous-elf/release/loader.bin MD5
|
||||
CertUtil -hashfile target/riscv32imac-unknown-xous-elf/release/xous.img MD5
|
||||
scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-xous-elf/release/xous.img target/riscv32imac-unknown-xous-elf/release/loader.bin precursors/soc_csr.bin precursors/bbram-test1.nky pi@10.0.245.90:code/precursors/
|
||||
|
||||
REM CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/loader.bin MD5
|
||||
REM CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/xous.img MD5
|
||||
REM scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-none-elf/release/xous.img target/riscv32imac-unknown-none-elf/release/loader.bin precursors/soc_csr.bin precursors/bbram-test1.nky pi@10.0.245.90:code/precursors/
|
||||
|
||||
REM wishbone-tool --load-name target/riscv32imac-unknown-none-elf/release/xous.img --load-address 0x980000 --load-flash
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ UPDATE_KERNEL=1
|
|||
UPDATE_LOADER=1
|
||||
USE_USB=1
|
||||
FPGA_IMAGE=precursors/soc_csr.bin
|
||||
KERNEL_IMAGE=target/riscv32imac-unknown-none-elf/release/xous.img
|
||||
LOADER_IMAGE=target/riscv32imac-unknown-none-elf/release/loader.bin
|
||||
KERNEL_IMAGE=target/riscv32imac-unknown-xous-elf/release/xous.img
|
||||
LOADER_IMAGE=target/riscv32imac-unknown-xous-elf/release/loader.bin
|
||||
CSR_CSV=
|
||||
USE_IDENTITY=0
|
||||
USE_NIGHTLY=
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ version = "0.1.0"
|
|||
|
||||
[dependencies]
|
||||
com_rs-ref = {path = "../../imports/com_rs-ref"}
|
||||
heapless = "0.7"
|
||||
#heapless = "0.7"
|
||||
log = "0.4"
|
||||
log-server = {path = "../log-server"}
|
||||
ticktimer-server = {path = "../ticktimer-server"}
|
||||
|
|
|
|||
|
|
@ -40,15 +40,13 @@ mod implementation {
|
|||
use utralib::generated::*;
|
||||
use susres::{RegManager, RegOrField, SuspendResume};
|
||||
|
||||
use heapless::Vec;
|
||||
|
||||
const STD_TIMEOUT: u32 = 100;
|
||||
|
||||
pub struct XousCom {
|
||||
csr: utralib::CSR<u32>,
|
||||
susres: RegManager::<{utra::com::COM_NUMREGS}>,
|
||||
ticktimer: ticktimer_server::Ticktimer,
|
||||
pub workqueue: Vec<WorkRequest, 64>,
|
||||
pub workqueue: Vec<WorkRequest>,
|
||||
busy: bool,
|
||||
stby_current: Option<i16>,
|
||||
}
|
||||
|
|
@ -487,8 +485,8 @@ fn xmain() -> ! {
|
|||
.push(WorkRequest {
|
||||
work: ComState::STAT,
|
||||
sender: conn,
|
||||
})
|
||||
.unwrap();
|
||||
});
|
||||
//.unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ impl RootKeys {
|
|||
}
|
||||
|
||||
fn make_gateware_backup(&mut self, prog_start: u32, prog_end: u32, progress_modal: &mut Modal, progress_action: &mut Slider) {
|
||||
println!("test");
|
||||
// println!("this is a test of stdlib");
|
||||
}
|
||||
|
||||
#[cfg(feature = "hazardous-debug")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue