From ce135a4aaa6f3f8b4b11233450340f1558419d56 Mon Sep 17 00:00:00 2001 From: Andelf Date: Tue, 26 Nov 2024 01:07:03 +0800 Subject: [PATCH] ci: switch to nightly --- .github/workflows/build.yml | 3 +-- README.md | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4776bdb..46ffcc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,9 +19,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Use nightly Rust - # lock to 2024-08-23 and wait for embassy-executor to be updated run: | - rustup default nightly-2024-08-23 + rustup default nightly rustup component add rust-src rustup target add riscv32imafc-unknown-none-elf - name: Build Only diff --git a/README.md b/README.md index a8533f8..17e9257 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,7 @@ The best reference is the examples in the `examples` directory and Github action #### Step 1. Prepare Rust Toolchain ```bash -# lock to 2024-08-23 and wait for embassy-executor to be updated -rustup default nightly-2024-08-23 +rustup default nightly rustup target add riscv32imafc-unknown-none-elf ``` @@ -165,8 +164,6 @@ cd examples/hpm5300evk cargo run --release --bin blinky ``` -> **Note**: Due to [rust-embedded/riscv#196](https://github.com/rust-embedded/riscv/issues/196), patched linker script should be used. - ## License This repo is licensed under either of