mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-18 16:09:33 +01:00
12 lines
473 B
TOML
12 lines
473 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",
|
||
|
]
|
||
|
|
||
|
[build]
|
||
|
# Pick ONE of these compilation targets
|
||
|
# target = "riscv32imc-unknown-none-elf" # non-atomic support
|
||
|
target = "riscv32imac-unknown-none-elf" # atomic support (partial)
|