mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
uvm32 initial version
This commit is contained in:
commit
c9d30b6d28
34 changed files with 2088 additions and 0 deletions
8
apps/rust-hello/Makefile
Normal file
8
apps/rust-hello/Makefile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
all:
|
||||
cargo build -r --target riscv32im-unknown-none-elf && docker run -v `pwd`:/data -w /data --rm riscv-dev riscv64-unknown-elf-objcopy target/riscv32im-unknown-none-elf/release/rust-hello -O binary rust-hello.bin
|
||||
|
||||
test: all
|
||||
../../emulator/emulator rust-hello.bin
|
||||
|
||||
clean:
|
||||
rm -rf rust-hello.bin target
|
||||
Loading…
Add table
Add a link
Reference in a new issue