Skip to content

Commit

Permalink
Updated to use atomic-polyfill instead
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Oct 6, 2022
1 parent 3f74d87 commit e6fddd5
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 147 deletions.
8 changes: 3 additions & 5 deletions firmware/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[target.riscv32imac-unknown-none-elf]
# runner = "espflash --monitor"

[build]
rustflags = [
"-C",
Expand All @@ -10,11 +7,12 @@ rustflags = [
"-C",
"link-arg=-Tdefmt.x",
]
target = "riscv32imac-unknown-none-elf"
# We compile without atomics, because its faster than using atomic trap handler
target = "riscv32imc-unknown-none-elf"

[unstable]
build-std = ["core", "alloc"]

[env]
# You can override this via environment variable when building or by changing it here
DEFMT_LOG = "debug"
DEFMT_LOG = "trace"
Loading

0 comments on commit e6fddd5

Please sign in to comment.