diff options
| author | Román Cárdenas Rodríguez <rcardenas.rod@gmail.com> | 2024-10-23 18:50:12 +0200 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2025-03-12 19:41:40 +0000 |
| commit | 183e73904a5d14e29f8a7edbb2d9553dddb736af (patch) | |
| tree | 87735b6518ed1532e9b2cc6c8c145d3243ec3354 /examples/hifive1/.cargo | |
| parent | bac77de9bc5249a8d4e34c816bb94f5945fb1f58 (diff) | |
Prepare for new riscv ecosystem
Diffstat (limited to 'examples/hifive1/.cargo')
| -rw-r--r-- | examples/hifive1/.cargo/config.toml | 4 |
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" |
