rtic/examples/hifive1/.cargo/config.toml
Román Cárdenas Rodríguez 183e73904a Prepare for new riscv ecosystem
2025-03-12 19:41:40 +00:00

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"