From 0448d1fc50e80832ecd6382ad3add9575d505d37 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:42:45 +0200 Subject: fix `release/bump-dependency.sh`: don't generate backup files the `-rie` arguments of `sed` were probably meant as `-r -i -e`, however, due to the way it was written it ended up being `-r -i e`, thus causing `-i` (edit in-place) to generate backup files. so for every edited `Cargo.toml` it also created a `Cargo.tomle` with the previous content. `-e` is anyway not needed as the last argument of `sed` here is the expression to be executed. --- release/bump-dependency.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/bump-dependency.sh b/release/bump-dependency.sh index 07511d229..97f73cddc 100755 --- a/release/bump-dependency.sh +++ b/release/bump-dependency.sh @@ -8,4 +8,4 @@ # CRATE=$1 TARGET_VER=$2 -find . -name "Cargo.toml" | xargs sed -rie "s/($CRATE = \{.*version = \")[0-9]+.[0-9]+.?[0-9]*(\".*)/\1$TARGET_VER\2/g" +find . -name "Cargo.toml" | xargs sed -ri "s/($CRATE = \{.*version = \")[0-9]+.[0-9]+.?[0-9]*(\".*)/\1$TARGET_VER\2/g" -- cgit From ca21140f5ee326e1a0723fb56a39e73a98e3188a Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:00:46 +0200 Subject: add changelog for `embassy-futures` --- embassy-futures/CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 embassy-futures/CHANGELOG.md diff --git a/embassy-futures/CHANGELOG.md b/embassy-futures/CHANGELOG.md new file mode 100644 index 000000000..86ea40540 --- /dev/null +++ b/embassy-futures/CHANGELOG.md @@ -0,0 +1,13 @@ +# Changelog for embassy-futures + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased + +- Preserve location information for `defmt` in `fmt` calls ([#3085](https://github.com/embassy-rs/embassy/pull/3085)) +- Fixed soundness issue in `select_slice` ([#3328](https://github.com/embassy-rs/embassy/pull/3328)) +- Added `select5` and `select6` ([#3430](https://github.com/embassy-rs/embassy/pull/3430)) +- Added `is_x` methods for all `EitherN` enum variants (#[3650](https://github.com/embassy-rs/embassy/pull/3650)) -- cgit From 1bc17b0964a12f2c31275710c90e446f842c027a Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:24:04 +0200 Subject: `embassy-futures`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-futures/CHANGELOG.md | 3 ++- embassy-futures/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-futures/release.toml diff --git a/embassy-futures/CHANGELOG.md b/embassy-futures/CHANGELOG.md index 86ea40540..eb76cdc4a 100644 --- a/embassy-futures/CHANGELOG.md +++ b/embassy-futures/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Preserve location information for `defmt` in `fmt` calls ([#3085](https://github.com/embassy-rs/embassy/pull/3085)) - Fixed soundness issue in `select_slice` ([#3328](https://github.com/embassy-rs/embassy/pull/3328)) diff --git a/embassy-futures/release.toml b/embassy-futures/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-futures/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From 88076255baf1c8e5b25d0fb32dfa3f907030e2c2 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:49:57 +0200 Subject: add changelog for `embassy-usb-driver` --- embassy-usb-driver/CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 embassy-usb-driver/CHANGELOG.md diff --git a/embassy-usb-driver/CHANGELOG.md b/embassy-usb-driver/CHANGELOG.md new file mode 100644 index 000000000..4a1090029 --- /dev/null +++ b/embassy-usb-driver/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog for embassy-usb-driver + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased + +- Add `embedded_io_async::Error` implementation for `EndpointError` ([#4176](https://github.com/embassy-rs/embassy/pull/4176)) -- cgit From 1d522c6e4fedc045e6ed7483ffc2f91a99e2d9a6 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:51:37 +0200 Subject: `embassy-usb-driver`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-usb-driver/CHANGELOG.md | 3 ++- embassy-usb-driver/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-usb-driver/release.toml diff --git a/embassy-usb-driver/CHANGELOG.md b/embassy-usb-driver/CHANGELOG.md index 4a1090029..c02daefdf 100644 --- a/embassy-usb-driver/CHANGELOG.md +++ b/embassy-usb-driver/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Add `embedded_io_async::Error` implementation for `EndpointError` ([#4176](https://github.com/embassy-rs/embassy/pull/4176)) diff --git a/embassy-usb-driver/release.toml b/embassy-usb-driver/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-usb-driver/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From e9296b547a6bc6f6d69f28882fbd95107f0d5e98 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:57:03 +0200 Subject: prepare changelog for `embassy-net-driver-channel` v0.4.0 --- embassy-net-driver-channel/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/embassy-net-driver-channel/CHANGELOG.md b/embassy-net-driver-channel/CHANGELOG.md index d7af7e55d..ebc0e96b9 100644 --- a/embassy-net-driver-channel/CHANGELOG.md +++ b/embassy-net-driver-channel/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Update `embassy-sync` to v0.7.0 + ## 0.3.0 - 2024-08-05 - Add collapse_debuginfo to fmt.rs macros. -- cgit From 010c626a1160cf1a6721d8632119c0e45907e8c2 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:58:39 +0200 Subject: `embassy-inet-driver-channel`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-net-driver-channel/CHANGELOG.md | 3 ++- embassy-net-driver-channel/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-net-driver-channel/release.toml diff --git a/embassy-net-driver-channel/CHANGELOG.md b/embassy-net-driver-channel/CHANGELOG.md index ebc0e96b9..a5c81cf4d 100644 --- a/embassy-net-driver-channel/CHANGELOG.md +++ b/embassy-net-driver-channel/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Update `embassy-sync` to v0.7.0 diff --git a/embassy-net-driver-channel/release.toml b/embassy-net-driver-channel/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-net-driver-channel/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From e38b3c52528da3796208ac9a05e4a75e373cf252 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 11:09:09 +0200 Subject: prepare changelog for `embassy-usb` v0.5.0 --- embassy-usb/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/embassy-usb/CHANGELOG.md b/embassy-usb/CHANGELOG.md index 76fafed31..d941ae068 100644 --- a/embassy-usb/CHANGELOG.md +++ b/embassy-usb/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992)) +- `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000)) +- Add support for CMSIS-DAP v2 USB class ([#4107](https://github.com/embassy-rs/embassy/pull/4107)) +- Reduce `UsbDevice` builder logs to `trace` ([#4130](https://github.com/embassy-rs/embassy/pull/4130)) +- Implement `embedded-io-async` traits for USB CDC ACM ([#4176](https://github.com/embassy-rs/embassy/pull/4176)) +- Update `embassy-sync` to v0.7.0 + ## 0.4.0 - 2025-01-15 - Change config defaults to to composite with IADs. This ensures embassy-usb Just Works in more cases when using classes with multiple interfaces, or multiple classes. (breaking change) -- cgit From 27bae26172757b15597f497b5e3d30d5dc18bd98 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 11:10:21 +0200 Subject: `embassy-usb`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-usb/CHANGELOG.md | 3 ++- embassy-usb/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-usb/release.toml diff --git a/embassy-usb/CHANGELOG.md b/embassy-usb/CHANGELOG.md index d941ae068..51db5f03e 100644 --- a/embassy-usb/CHANGELOG.md +++ b/embassy-usb/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992)) - `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000)) diff --git a/embassy-usb/release.toml b/embassy-usb/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-usb/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From 1c515937ff69cf2358118e13a9a70178dd7a99a0 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Wed, 11 Jun 2025 09:47:25 +0200 Subject: prepare changelog for `embassy-executor` v0.8.0 --- embassy-executor/CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/embassy-executor/CHANGELOG.md b/embassy-executor/CHANGELOG.md index 608c67724..19e41e3e7 100644 --- a/embassy-executor/CHANGELOG.md +++ b/embassy-executor/CHANGELOG.md @@ -7,7 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +- Added `SpawnToken::id` +- Task pools are now statically allocated on stable rust. All `task-arena-size-*` features have been removed and are no longer necessary. +- New trace hooks: `_embassy_trace_poll_start` & `_embassy_trace_task_end` +- Added task naming capability to tracing infrastructure +- Added `Executor::id` & `Spawner::executor_id` +- Disable `critical-section/std` for arch-std +- Added possibility to select an executor in `#[embassy_executor::main]` +- Fix AVR executor +- executor: Make state implementations and their conditions match - Added support for Cortex-A and Cortex-R +- Added support for `-> impl Future` in `#[task]` +- Fixed `Send` unsoundness with `-> impl Future` tasks +- Marked `Spawner::for_current_executor` as `unsafe` ## 0.7.0 - 2025-01-02 -- cgit From a52ca758ac84af5b9fafa9f6cc0562495a796ffd Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Wed, 11 Jun 2025 09:48:37 +0200 Subject: `embassy-executor`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-executor/CHANGELOG.md | 3 ++- embassy-executor/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-executor/release.toml diff --git a/embassy-executor/CHANGELOG.md b/embassy-executor/CHANGELOG.md index 19e41e3e7..914863a83 100644 --- a/embassy-executor/CHANGELOG.md +++ b/embassy-executor/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## unreleased + +## Unreleased - ReleaseDate - Added `SpawnToken::id` - Task pools are now statically allocated on stable rust. All `task-arena-size-*` features have been removed and are no longer necessary. diff --git a/embassy-executor/release.toml b/embassy-executor/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-executor/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From 9f9c6f328d1da8a4ec7bea41b4d1355665af55cb Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:14:56 +0200 Subject: prepare changelog for `embassy-time-driver` v0.2.1 --- embassy-time-driver/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/embassy-time-driver/CHANGELOG.md b/embassy-time-driver/CHANGELOG.md index 744b0f648..349df15a7 100644 --- a/embassy-time-driver/CHANGELOG.md +++ b/embassy-time-driver/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +- Allow inlining on time driver boundary +- add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` + ## 0.2.0 - 2025-01-02 - The `allocate_alarm`, `set_alarm_callback`, `set_alarm` functions have been removed. -- cgit From 80bb09cdb1599e185023ae39d144f353f6ebc10f Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:16:07 +0200 Subject: `embassy-time-driver`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-time-driver/CHANGELOG.md | 3 ++- embassy-time-driver/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-time-driver/release.toml diff --git a/embassy-time-driver/CHANGELOG.md b/embassy-time-driver/CHANGELOG.md index 349df15a7..b61a10bf6 100644 --- a/embassy-time-driver/CHANGELOG.md +++ b/embassy-time-driver/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Allow inlining on time driver boundary - add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` diff --git a/embassy-time-driver/release.toml b/embassy-time-driver/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-time-driver/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From bb1b682deb5931b24ea7bd191aadf5a927140b14 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:23:11 +0200 Subject: prepare changelog for `embassy-time` v0.4.1 --- embassy-time/CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/embassy-time/CHANGELOG.md b/embassy-time/CHANGELOG.md index 09e951ce4..49b3b4586 100644 --- a/embassy-time/CHANGELOG.md +++ b/embassy-time/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +- Allow inlining on time driver boundary +- Add `saturating_add` and `saturating_sub` to `Instant` +- Add `Instant::try_from_*` constructor functions +- Add `Duration::try_from_*` constructor functions +- Don't select `critical-section` impl for `std` +- Manually implement the future for `with_timeout` +- Add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` + ## 0.4.0 - 2025-01-02 - `embassy-time-driver` updated from v0.1 to v0.2. -- cgit From 112c7a16654bf376463586bd2a32ea817fb7f11d Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:32:28 +0200 Subject: `embassy-time`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-time/CHANGELOG.md | 3 ++- embassy-time/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-time/release.toml diff --git a/embassy-time/CHANGELOG.md b/embassy-time/CHANGELOG.md index 49b3b4586..a0c1abe8d 100644 --- a/embassy-time/CHANGELOG.md +++ b/embassy-time/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Allow inlining on time driver boundary - Add `saturating_add` and `saturating_sub` to `Instant` diff --git a/embassy-time/release.toml b/embassy-time/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-time/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From db58ce03cc4bde8582c12c5736a8a4490e160a85 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:26:51 +0200 Subject: prepare changelog for `embassy-embedded-hal` v0.4.0 --- embassy-embedded-hal/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-embedded-hal/CHANGELOG.md b/embassy-embedded-hal/CHANGELOG.md index 224036af4..d19c54354 100644 --- a/embassy-embedded-hal/CHANGELOG.md +++ b/embassy-embedded-hal/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- `SpiDevice` cancel safety: always set CS pin to high on drop +- Update `embassy-sync` to v0.7.0 + ## 0.3.0 - 2025-01-05 - The `std` feature has been removed -- cgit From cd2c9c7e85efb055b3c72971f0a94cc75efd0aa1 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:30:26 +0200 Subject: `embassy-embedded-hal`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-embedded-hal/CHANGELOG.md | 3 ++- embassy-embedded-hal/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-embedded-hal/release.toml diff --git a/embassy-embedded-hal/CHANGELOG.md b/embassy-embedded-hal/CHANGELOG.md index d19c54354..6f0655adf 100644 --- a/embassy-embedded-hal/CHANGELOG.md +++ b/embassy-embedded-hal/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - `SpiDevice` cancel safety: always set CS pin to high on drop - Update `embassy-sync` to v0.7.0 diff --git a/embassy-embedded-hal/release.toml b/embassy-embedded-hal/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-embedded-hal/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit From 74101a8625ad042d3bfd44f9dc20882a8d1f6944 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:03:59 +0200 Subject: prepare changelog for `embassy-rp` v0.5.0 --- embassy-rp/CHANGELOG.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/embassy-rp/CHANGELOG.md b/embassy-rp/CHANGELOG.md index 7ac0a47cb..bb58ac54f 100644 --- a/embassy-rp/CHANGELOG.md +++ b/embassy-rp/CHANGELOG.md @@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Fix wrong `funcsel` on RP2350 gpout/gpin ([#3975](https://github.com/embassy-rs/embassy/pull/3975)) +- Fix potential race condition in `ADC::wait_for_ready` ([#4012](https://github.com/embassy-rs/embassy/pull/4012)) +- `flash`: rename `BOOTROM_BASE` to `BOOTRAM_BASE` ([#4014](https://github.com/embassy-rs/embassy/pull/4014)) +- Remove `Peripheral` trait & rename `PeripheralRef` to `Peri` ([#3999](https://github.com/embassy-rs/embassy/pull/3999)) +- Fix watchdog count on RP235x ([#4021](https://github.com/embassy-rs/embassy/pull/4021)) +- I2C: ensure that wakers are registered before checking status of `wait_on` helpers ([#4043](https://github.com/embassy-rs/embassy/pull/4043)) +- Modify `Uarte` and `BufferedUarte` initialization to take pins before interrupts ([#3983](https://github.com/embassy-rs/embassy/pull/3983)) +- `uart`: increase RX FIFO watermark from 1/8 to 7/8 ([#4055](https://github.com/embassy-rs/embassy/pull/4055)) +- Add `spinlock_mutex` ([#4017](https://github.com/embassy-rs/embassy/pull/4017)) +- Enable input mode for PWM pins on RP235x and disable it on drop ([#4093](https://github.com/embassy-rs/embassy/pull/4093)) +- Add `impl rand_core::CryptoRng for Trng` ([#4096](https://github.com/embassy-rs/embassy/pull/4096)) +- `pwm`: enable pull-down resistors for pins in `Drop` implementation ([#4115](https://github.com/embassy-rs/embassy/pull/4115)) +- Rewrite PIO onewire implementation ([#4128](https://github.com/embassy-rs/embassy/pull/4128)) +- Implement RP2040 overclocking ([#4150](https://github.com/embassy-rs/embassy/pull/4150)) +- Implement RP235x overclocking ([#4187](https://github.com/embassy-rs/embassy/pull/4187)) +- `trng`: improve error handling ([#4139](https://github.com/embassy-rs/embassy/pull/4139)) +- Remove `` from `Uart` and `BufferedUart` ([#4155](https://github.com/embassy-rs/embassy/pull/4155)) +- Make bit-depth of I2S PIO program configurable ([#4193](https://github.com/embassy-rs/embassy/pull/4193)) +- Add the possibility to document `bind_interrupts` `struct`s ([#4206](https://github.com/embassy-rs/embassy/pull/4206)) +- Add missing `Debug` and `defmt::Format` `derive`s for ADC & `AnyPin` ([#4205](https://github.com/embassy-rs/embassy/pull/4205)) +- Add `rand-core` v0.9 support ([#4217](https://github.com/embassy-rs/embassy/pull/4217)) +- Update `embassy-sync` to v0.7.0 ([#4234](https://github.com/embassy-rs/embassy/pull/4234)) +- Add compatibility with ws2812 leds that have 4 addressable lights ([#4236](https://github.com/embassy-rs/embassy/pull/4236)) +- Implement input/output inversion ([#4237](https://github.com/embassy-rs/embassy/pull/4237)) +- Add `multicore::current_core` API ([#4362](https://github.com/embassy-rs/embassy/pull/4362)) + ## 0.4.0 - 2025-03-09 - Add PIO functions. ([#3857](https://github.com/embassy-rs/embassy/pull/3857)) -- cgit From 22e77cb675a2405472cd6d28b66172e311713ee1 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 12:05:29 +0200 Subject: `embassy-rp`: add release automation using `cargo-release` this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131 --- embassy-rp/CHANGELOG.md | 3 ++- embassy-rp/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-rp/release.toml diff --git a/embassy-rp/CHANGELOG.md b/embassy-rp/CHANGELOG.md index bb58ac54f..52bf0038e 100644 --- a/embassy-rp/CHANGELOG.md +++ b/embassy-rp/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Fix wrong `funcsel` on RP2350 gpout/gpin ([#3975](https://github.com/embassy-rs/embassy/pull/3975)) - Fix potential race condition in `ADC::wait_for_ready` ([#4012](https://github.com/embassy-rs/embassy/pull/4012)) diff --git a/embassy-rp/release.toml b/embassy-rp/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-rp/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit