Skip to content

Commit

Permalink
Use stable release channel for RISC-V targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Sep 10, 2024
1 parent d9b12ad commit 0c84afb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:

# Install the Rust toolchain for RISC-V devices:
- if: ${{ !contains(fromJson('["esp32", "esp32s2", "esp32s3"]'), matrix.mcu) }}
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly-2024-06-01 # TODO: Remove date when able
uses: dtolnay/rust-toolchain@stable

# Install the Rust toolchain for Xtensa devices:
- if: ${{ contains(fromJson('["esp32", "esp32s2", "esp32s3"]'), matrix.mcu) }}
Expand Down
2 changes: 1 addition & 1 deletion embassy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ embassy-time = { version = "0.3.2", features = ["generic-queue-8"] }
esp-backtrace = { version = "0.14.1", features = ["{{ mcu }}", "defmt", "exception-handler", "panic-handler"] }
esp-hal = { version = "0.20.1", features = ["{{ mcu }}", "defmt", "async"] }
esp-hal-embassy = { version = "0.3.0", features = ["{{ mcu }}", "defmt"] }
static_cell = { version = "2.1.0", features = ["nightly"] }
static_cell = "2.1.0"

[profile.release]
debug = true # Debug info is useful, and does not affect the size of the final binary
Expand Down
2 changes: 1 addition & 1 deletion embassy/pre-script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ if mcu in ["esp32", "esp32s2", "esp32s3"] {
};

variable::set("arch", "riscv");
variable::set("toolchain", "nightly-2024-06-01"); // TODO: Remove date when able
variable::set("toolchain", "stable");
variable::set("rust_target", `riscv32${extensions}-unknown-none-elf`);
}

0 comments on commit 0c84afb

Please sign in to comment.