diff --git a/test/Cargo.toml b/test/Cargo.toml index f5a403b..2720da4 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] riscv = "0.12.1" -riscv-rt = "0.13.0" +riscv-rt = { version = "0.13.0", features=["single-hart"] } lwcpu = { path = "../lwcpu" } # https://docs.rust-embedded.org/book/unsorted/speed-vs-size.html diff --git a/test/Makefile b/test/Makefile index 981c888..5ebcc59 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,7 +12,7 @@ extract: build size: extract cargo size --release -- -A -disassemble: build +disassemble: extract riscv32-elf-objdump -Cd "target/riscv32i-unknown-none-elf/release/${NAME}" | less clean: