Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stable channel instead of nightly #70

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: cargo fmt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: matrix.build.chip != 'esp32' && matrix.build.chip != 'esp32s2' && matrix.build.chip != 'esp32s3'
with:
target: ${{ matrix.build.target }}
toolchain: nightly
toolchain: stable
components: rust-src
# Xtensa toolchain
- uses: esp-rs/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ In order to build the flasher stub manually, you must specify the appropriate to
cargo +esp build --release --features=esp32 --target=xtensa-esp32-none-elf

# ESP32-C2
cargo +nightly build --release --features=esp32c2 --target=riscv32imc-unknown-none-elf
cargo +stable build --release --features=esp32c2 --target=riscv32imc-unknown-none-elf

# ESP32-C3
cargo +nightly build --release --features=esp32c3 --target=riscv32imc-unknown-none-elf
cargo +stable build --release --features=esp32c3 --target=riscv32imc-unknown-none-elf

# ESP32-C6
cargo +nightly build --release --features=esp32c6 --target=riscv32imac-unknown-none-elf
cargo +stable build --release --features=esp32c6 --target=riscv32imac-unknown-none-elf

# ESP32-H2
cargo +nightly build --release --features=esp32h2 --target=riscv32imac-unknown-none-elf
cargo +stable build --release --features=esp32h2 --target=riscv32imac-unknown-none-elf

# ESP32-S2
cargo +esp build --release --features=esp32s2 --target=xtensa-esp32s2-none-elf
Expand Down
11 changes: 3 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,17 @@ use flasher_stub::{
dprintln,
hal::{
clock::{ClockControl, Clocks},
entry,
gpio,
entry, gpio,
peripherals::{self, Peripherals},
prelude::*,
uart::{
config::{Config, DataBits, Parity, StopBits},
ClockSource,
TxRxPins,
Uart,
ClockSource, TxRxPins, Uart,
},
Blocking,
},
protocol::Stub,
targets,
Transport,
TransportMethod,
targets, Transport, TransportMethod,
};
use static_cell::StaticCell;

Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Chip {
pub fn toolchain(&self) -> &'static str {
match self {
Chip::Esp32 | Chip::Esp32s2 | Chip::Esp32s3 => "+esp",
_ => "+nightly",
_ => "+stable",
}
}

Expand Down