Skip to content

Commit

Permalink
Update MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Jan 10, 2025
1 parent 159a8d2 commit ce15f46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: dtolnay/rust-toolchain@v1
with:
target: ${{ matrix.build.target }}
toolchain: "1.76.0"
toolchain: "1.79.0"
components: rust-src
- name: cargo check
run: cargo check --target=${{ matrix.build.target }} --features=${{ matrix.build.chip }}
Expand All @@ -183,7 +183,7 @@ jobs:
default: true
ldproxy: false
buildtargets: ${{ matrix.build.chip }}
version: "1.76.0"
version: "1.79.0"
- uses: Swatinem/rust-cache@v2
- name: cargo check
run: cargo check -Zbuild-std=core --target=${{ matrix.build.target }} --features=${{ matrix.build.chip }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "flasher-stub"
version = "0.3.0"
edition = "2021"
rust-version = "1.76"
rust-version = "1.79"
license = "MIT OR Apache-2.0"
categories = ["embedded", "no-std"]

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# esp-flasher-stub

[![GitHub Workflow Status](https://github.com/esp-rs/esp-flasher-stub/actions/workflows/ci.yml/badge.svg)](https://github.com/esp-rs/esp-flasher-stub/actions/workflows/ci.yml)
![MSRV](https://img.shields.io/badge/MSRV-1.76-blue?labelColor=1C2C2E&logo=Rust&style=flat-square)
![MSRV](https://img.shields.io/badge/MSRV-1.79-blue?labelColor=1C2C2E&logo=Rust&style=flat-square)
[![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&color=BEC5C9&labelColor=1C2C2E&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org)

Rust implementation of the [esptool flasher stub](https://github.com/espressif/esptool-legacy-flasher-stub/).
Expand Down Expand Up @@ -77,6 +77,7 @@ In order to run `test_esptool.py` follow steps below:
## Debug logs

In order to add debug logs, you can use the `--dprint` flag available in the `xtask` package for `build` and `wrap` commands:

```bash
cd xtask/
cargo run -- wrap esp32c3 --dprint
Expand All @@ -90,6 +91,7 @@ cargo build --release --target=riscv32imc-unknown-none-elf --features=esp32c3,dp
```

This will print `esp-flasher-stub` debug messages using `UART1`. By default, `esp-flasher-stub` uses the following pins:

- TX: GPIO 2
- RX: GPIO 0

Expand Down

0 comments on commit ce15f46

Please sign in to comment.