Skip to content

Commit f3208f9

Browse files
Prepare relase 0.4.0 (#189)
* docs: Update changelog * docs: Update examples link * build: Bump MSRV and esp-generate version * docs: Update PR number * ci: Add msrv check * docs: Add badges * feat: Bump esp-hal msrv
1 parent d2ab090 commit f3208f9

File tree

8 files changed

+41
-8
lines changed

8 files changed

+41
-8
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ env:
2222
CARGO_TARGET_DIR: ${{ github.workspace }}/target
2323
CARGO_TERM_COLOR: always
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
MSRV: "1.86"
2526
SSID: ""
2627
PASSWORD: ""
2728

@@ -124,3 +125,19 @@ jobs:
124125

125126
- name: Run clippy
126127
run: cargo clippy -- -D warnings
128+
129+
# --------------------------------------------------------------------------
130+
# MSRV
131+
132+
msrv:
133+
runs-on: ubuntu-latest
134+
135+
steps:
136+
- uses: actions/checkout@v4
137+
138+
- uses: dtolnay/rust-toolchain@v1
139+
with:
140+
toolchain: ${{ env.MSRV }}
141+
- run: cargo check -p esp-generate
142+
143+

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
### Changed
13+
14+
### Fixed
15+
16+
### Removed
17+
18+
## [0.4.0] - 2025-06-06
19+
20+
### Added
21+
1222
- Added option to enable Stack smashing protection (#141)
1323
- Enabling `probe-rs` and `vscode` together now generates `.vscode/launch.json` (#143)
1424
- Provide hint when esp-wifi has no scheduler (#145)
@@ -26,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2636
- Add a description to the version check output (#178)
2737
- `esp-hal` is now pinned to avoid updating to a new prerelease by accident (#186)
2838
- `esp-hal` updated and pinned to `beta.1` (#166)
39+
- MSRV bump to 1.86 (#189)
2940

3041
### Fixed
3142

@@ -120,7 +131,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
120131

121132
- Initial release
122133

123-
[Unreleased]: https://github.com/esp-rs/esp-generate/compare/v0.3.1...HEAD
134+
[Unreleased]: https://github.com/esp-rs/esp-generate/compare/v0.4.0...HEAD
135+
[0.4.0]: https://github.com/esp-rs/esp-generate/compare/v0.3.1...v0.4.0
124136
[0.3.1]: https://github.com/esp-rs/esp-generate/compare/v0.3.0...v0.3.1
125137
[0.3.0]: https://github.com/esp-rs/esp-generate/compare/v0.2.2...v0.3.0
126138
[0.2.2]: https://github.com/esp-rs/esp-generate/releases/tag/v0.2.2

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "esp-generate"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2021"
5-
rust-version = "1.84"
5+
rust-version = "1.86"
66
description = "Template generation tool to create no_std applications targeting Espressif's chips"
77
repository = "https://github.com/esp-rs/esp-generate"
88
license = "MIT OR Apache-2.0"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# `esp-generate`
22

3+
[![Crates.io](https://img.shields.io/crates/v/esp-generate?labelColor=1C2C2E&color=C96329&logo=Rust&style=flat-square)](https://crates.io/crates/esp-generate)
4+
![MSRV](https://img.shields.io/badge/MSRV-1.86-blue?labelColor=1C2C2E&logo=Rust&style=flat-square)
5+
![Crates.io](https://img.shields.io/crates/l/esp-generate?labelColor=1C2C2E&style=flat-square)
6+
37
Template generation tool to create `no_std` applications targeting Espressif's line of SoCs and modules.
48

59
At present, this template supports the ESP32, ESP32-C2/C3/C6, ESP32-H2, and ESP32-S2/S3. Support for additional devices will be added as they become available.

src/check.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ pub fn check(chip: Chip, probe_rs_required: bool) {
4444
let mut requirements_unsatisfied = false;
4545
requirements_unsatisfied |= print_result(
4646
&format!("Rust ({rust_toolchain})"),
47-
check_version(rust_version, 1, 84, 0),
48-
format!("minimum required version is 1.84 - use `{rust_toolchain_tool}` to upgrade"),
47+
check_version(rust_version, 1, 86, 0),
48+
format!("minimum required version is 1.86 - use `{rust_toolchain_tool}` to upgrade"),
4949
format!("not found - use `{rust_toolchain_tool}` to install"),
5050
true,
5151
);

template/src/bin/async_main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ async fn main(spawner: Spawner) {
124124
Timer::after(Duration::from_secs(1)).await;
125125
}
126126

127-
// for inspiration have a look at the examples at https://github.com/esp-rs/esp-hal/tree/esp-hal-v1.0.0-beta.0/examples/src/bin
127+
// for inspiration have a look at the examples at https://github.com/esp-rs/esp-hal/tree/esp-hal-v1.0.0-beta.1/examples/src/bin
128128
}

template/src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ fn main() -> ! {
9292
while delay_start.elapsed() < Duration::from_millis(500) {}
9393
}
9494

95-
// for inspiration have a look at the examples at https://github.com/esp-rs/esp-hal/tree/esp-hal-v1.0.0-beta.0/examples/src/bin
95+
// for inspiration have a look at the examples at https://github.com/esp-rs/esp-hal/tree/esp-hal-v1.0.0-beta.1/examples/src/bin
9696
}

0 commit comments

Comments
 (0)