From 28f3838463778b169c78facb8c3f96776418d668 Mon Sep 17 00:00:00 2001 From: D4VID Date: Mon, 2 Jun 2025 22:01:05 +0200 Subject: [PATCH] Fix stack --- test/Cargo.toml | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: