-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update examples to not use atomics
This is a follow-up change to the `bugfix(broken atomics)` where we removed all use of atomics. This update the qingke version and examples' target setting to not include the atomic extension
- Loading branch information
1 parent
536fb82
commit 83c9f4e
Showing
21 changed files
with
122 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[build] | ||
target = "riscv32imac-unknown-none-elf" | ||
target = "riscv32imc-unknown-none-elf" | ||
|
||
[target."riscv32imac-unknown-none-elf"] | ||
[target."riscv32imc-unknown-none-elf"] | ||
runner = "wlink -v flash --enable-sdi-print --watch-serial" | ||
# runner = "wlink -v flash" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[build] | ||
target = "riscv32imac-unknown-none-elf" | ||
target = "riscv32imc-unknown-none-elf" | ||
|
||
[target."riscv32imac-unknown-none-elf"] | ||
[target."riscv32imc-unknown-none-elf"] | ||
runner = "wlink -v flash --enable-sdi-print --watch-serial" | ||
# runner = "wlink -v flash" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"arch": "riscv32", | ||
"atomic-cas": false, | ||
"cpu": "generic-rv32", | ||
"crt-objects-fallback": "false", | ||
"data-layout": "e-m:e-p:32:32-i64:64-n32-S128", | ||
"eh-frame-header": false, | ||
"emit-debug-gdb-scripts": false, | ||
"features": "+m,+f,+c,+forced-atomics", | ||
"is-builtin": false, | ||
"linker": "rust-lld", | ||
"linker-flavor": "gnu-lld", | ||
"llvm-abiname": "ilp32f", | ||
"llvm-target": "riscv32", | ||
"max-atomic-width": 32, | ||
"panic-strategy": "abort", | ||
"relocation-model": "static", | ||
"target-pointer-width": "32" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"arch": "riscv32", | ||
"atomic-cas": false, | ||
"cpu": "generic-rv32", | ||
"crt-objects-fallback": "false", | ||
"data-layout": "e-m:e-p:32:32-i64:64-n32-S128", | ||
"eh-frame-header": false, | ||
"emit-debug-gdb-scripts": false, | ||
"features": "+m,+f,+c,+forced-atomics", | ||
"is-builtin": false, | ||
"linker": "rust-lld", | ||
"linker-flavor": "gnu-lld", | ||
"llvm-abiname": "ilp32f", | ||
"llvm-target": "riscv32", | ||
"max-atomic-width": 32, | ||
"panic-strategy": "abort", | ||
"relocation-model": "static", | ||
"target-pointer-width": "32" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.