mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
11 lines
435 B
TOML
11 lines
435 B
TOML
[target.'cfg(all(target_arch = "riscv32", target_os = "none"))']
|
|
runner = "qemu-system-riscv32 -machine sifive_e,revb=true -nographic -semihosting-config enable=on,target=native -kernel"
|
|
# runner = "riscv64-unknown-elf-gdb -q -x gdb_init"
|
|
rustflags = [
|
|
"-C", "link-arg=-Thifive1-link.x",
|
|
"--cfg", "portable_atomic_target_feature=\"zaamo\"",
|
|
]
|
|
|
|
[build]
|
|
# Pick ONE of these compilation targets
|
|
target = "riscv32imc-unknown-none-elf"
|