aboutsummaryrefslogtreecommitdiff
path: root/examples/hifive1/.cargo/config.toml
diff options
context:
space:
mode:
authorRomán Cárdenas Rodríguez <rcardenas.rod@gmail.com>2024-10-23 18:50:12 +0200
committerHenrik Tjäder <henrik@tjaders.com>2025-03-12 19:41:40 +0000
commit183e73904a5d14e29f8a7edbb2d9553dddb736af (patch)
tree87735b6518ed1532e9b2cc6c8c145d3243ec3354 /examples/hifive1/.cargo/config.toml
parentbac77de9bc5249a8d4e34c816bb94f5945fb1f58 (diff)
Prepare for new riscv ecosystem
Diffstat (limited to 'examples/hifive1/.cargo/config.toml')
-rw-r--r--examples/hifive1/.cargo/config.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hifive1/.cargo/config.toml b/examples/hifive1/.cargo/config.toml
index 2ce90b2..ab912d0 100644
--- a/examples/hifive1/.cargo/config.toml
+++ b/examples/hifive1/.cargo/config.toml
@@ -3,9 +3,9 @@ runner = "qemu-system-riscv32 -machine sifive_e,revb=true -nographic -semihostin
# 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" # non-atomic support
-target = "riscv32imac-unknown-none-elf" # atomic support (partial)
+target = "riscv32imc-unknown-none-elf"