Skip to content

Commit

Permalink
fix: update riscv-rt to avoid yanked version
Browse files Browse the repository at this point in the history
Even with the changes in esp-rs/esp-hal#350 creating a new project from the template for an esp32c3 produces a result that fails to build with:

```
error: failed to select a version for the requirement `riscv = "^0.9"`
candidate versions found which didn't match: 0.10.1, 0.8.0, 0.7.0, ...
location searched: crates.io index
required by package `riscv-rt v0.10.0`
    ... which satisfies dependency `riscv-rt = "^0.10"` of package `example_project v0.1.0 (/home/seth/Code/src/github.com/rustbox/esp-hal/example-project)`
```
  • Loading branch information
sethp authored Jan 21, 2023
1 parent 8e6f26c commit 18aa947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ esp-alloc = { version = "0.1.0", features = ["oom-handler"] }
{%- endif %}
esp-backtrace = { version = "0.4.0", features = ["{{ mcu }}", "panic-handler", "print-uart"] }
{% if mcu == "esp32c3" -%}
riscv-rt = { version = "0.10", optional = true }
riscv-rt = { version = "0.10.1", optional = true }
{%- else -%}
{% if mcu == "esp32s2" -%}
xtensa-atomic-emulation-trap = "0.3.0"
Expand Down

0 comments on commit 18aa947

Please sign in to comment.