2024-05-13 18:31:37 -04:00
|
|
|
# .cargo/config.toml
|
|
|
|
|
|
|
|
[build]
|
2024-05-14 10:41:57 -04:00
|
|
|
target = "riscv64imac-unknown-none-elf"
|
2024-05-13 18:31:37 -04:00
|
|
|
|
2024-05-14 10:41:57 -04:00
|
|
|
# options for riscv32 (not currently in use)
|
2024-05-13 18:31:37 -04:00
|
|
|
[target.riscv32imac-unknown-none-elf]
|
|
|
|
runner = """ qemu-system-riscv32
|
|
|
|
-cpu rv32
|
|
|
|
-machine virt
|
|
|
|
-m 150M
|
|
|
|
-s
|
|
|
|
-nographic
|
2024-05-13 23:07:46 -04:00
|
|
|
-serial mon:stdio
|
2024-05-14 10:41:57 -04:00
|
|
|
-bios """
|
|
|
|
|
|
|
|
[target.riscv64imac-unknown-none-elf]
|
|
|
|
runner = """ qemu-system-riscv64
|
|
|
|
-cpu rv64
|
|
|
|
-machine virt
|
|
|
|
-m 150M
|
|
|
|
-s
|
|
|
|
-nographic
|
|
|
|
-serial mon:stdio
|
2024-05-13 18:31:37 -04:00
|
|
|
-bios """
|