aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-08-26 07:05:40 +0000
committerGitHub <[email protected]>2025-08-26 07:05:40 +0000
commit551aa5770fccba09ccaaa78745a3e5af2faea964 (patch)
tree6ae7de8fec93fbf30d1455727b162ed9097b0c83
parent73717f9ae8ea1f13f029c4c2722610a7e54436cb (diff)
parentc40c20563664a62607f754fc734c7473d28ee955 (diff)
Merge pull request #4549 from embassy-rs/releaser-update
feat: add semver checks and releasing to releaser
-rwxr-xr-xci.sh2
-rw-r--r--cyw43-pio/Cargo.toml5
-rw-r--r--cyw43/Cargo.toml11
-rw-r--r--cyw43/release.toml5
-rw-r--r--docs/examples/basic/Cargo.toml6
-rw-r--r--docs/examples/layer-by-layer/blinky-async/Cargo.toml6
-rw-r--r--docs/examples/layer-by-layer/blinky-hal/Cargo.toml6
-rw-r--r--docs/examples/layer-by-layer/blinky-irq/Cargo.toml6
-rw-r--r--docs/examples/layer-by-layer/blinky-pac/Cargo.toml6
-rw-r--r--embassy-boot-nrf/CHANGELOG.md13
-rw-r--r--embassy-boot-nrf/Cargo.toml11
-rw-r--r--embassy-boot-rp/CHANGELOG.md13
-rw-r--r--embassy-boot-rp/Cargo.toml6
-rw-r--r--embassy-boot-stm32/CHANGELOG.md13
-rw-r--r--embassy-boot-stm32/Cargo.toml6
-rw-r--r--embassy-boot/CHANGELOG.md11
-rw-r--r--embassy-embedded-hal/Cargo.toml7
-rw-r--r--embassy-embedded-hal/release.toml5
-rw-r--r--embassy-executor-timer-queue/Cargo.toml6
-rw-r--r--embassy-executor/Cargo.toml20
-rw-r--r--embassy-executor/release.toml5
-rw-r--r--embassy-futures/release.toml5
-rw-r--r--embassy-hal-internal/CHANGELOG.md13
-rw-r--r--embassy-imxrt/CHANGELOG.md11
-rw-r--r--embassy-imxrt/Cargo.toml7
-rw-r--r--embassy-mspm0/CHANGELOG.md1
-rw-r--r--embassy-mspm0/Cargo.toml19
-rw-r--r--embassy-net-adin1110/CHANGELOG.md11
-rw-r--r--embassy-net-driver-channel/release.toml5
-rw-r--r--embassy-net-driver/CHANGELOG.md3
-rw-r--r--embassy-net-enc28j60/CHANGELOG.md13
-rw-r--r--embassy-net-esp-hosted/CHANGELOG.md11
-rw-r--r--embassy-net-nrf91/CHANGELOG.md13
-rw-r--r--embassy-net-nrf91/Cargo.toml10
-rw-r--r--embassy-net-ppp/CHANGELOG.md3
-rw-r--r--embassy-net-wiznet/CHANGELOG.md13
-rw-r--r--embassy-net/CHANGELOG.md3
-rw-r--r--embassy-net/Cargo.toml15
-rw-r--r--embassy-nrf/Cargo.toml30
-rw-r--r--embassy-nrf/release.toml5
-rw-r--r--embassy-nxp/CHANGELOG.md11
-rw-r--r--embassy-nxp/Cargo.toml9
-rw-r--r--embassy-release/Cargo.toml12
-rw-r--r--embassy-release/src/main.rs303
-rw-r--r--embassy-rp/Cargo.toml11
-rw-r--r--embassy-rp/release.toml5
-rw-r--r--embassy-stm32-wpan/CHANGELOG.md11
-rw-r--r--embassy-stm32-wpan/Cargo.toml7
-rw-r--r--embassy-stm32/Cargo.toml101
-rw-r--r--embassy-stm32/release.toml5
-rw-r--r--embassy-stm32/src/sai/mod.rs50
-rw-r--r--embassy-sync/CHANGELOG.md3
-rw-r--r--embassy-sync/Cargo.toml5
-rw-r--r--embassy-time-driver/release.toml5
-rw-r--r--embassy-time-queue-utils/CHANGELOG.md3
-rw-r--r--embassy-time-queue-utils/Cargo.toml6
-rw-r--r--embassy-time/Cargo.toml6
-rw-r--r--embassy-time/release.toml5
-rw-r--r--embassy-usb-dfu/CHANGELOG.md11
-rw-r--r--embassy-usb-dfu/Cargo.toml6
-rw-r--r--embassy-usb-driver/release.toml5
-rw-r--r--embassy-usb-logger/CHANGELOG.md3
-rw-r--r--embassy-usb-synopsys-otg/CHANGELOG.md3
-rw-r--r--embassy-usb/Cargo.toml11
-rw-r--r--embassy-usb/release.toml5
-rw-r--r--examples/boot/application/nrf/Cargo.toml10
-rw-r--r--examples/boot/application/rp/Cargo.toml6
-rw-r--r--examples/boot/application/stm32f3/Cargo.toml6
-rw-r--r--examples/boot/application/stm32f7/Cargo.toml6
-rw-r--r--examples/boot/application/stm32h7/Cargo.toml6
-rw-r--r--examples/boot/application/stm32l0/Cargo.toml6
-rw-r--r--examples/boot/application/stm32l1/Cargo.toml6
-rw-r--r--examples/boot/application/stm32l4/Cargo.toml6
-rw-r--r--examples/boot/application/stm32wb-dfu/Cargo.toml6
-rw-r--r--examples/boot/application/stm32wba-dfu/Cargo.toml6
-rw-r--r--examples/boot/application/stm32wl/Cargo.toml6
-rw-r--r--examples/boot/bootloader/nrf/Cargo.toml10
-rw-r--r--examples/boot/bootloader/rp/Cargo.toml6
-rw-r--r--examples/boot/bootloader/stm32-dual-bank/Cargo.toml6
-rw-r--r--examples/boot/bootloader/stm32/Cargo.toml6
-rw-r--r--examples/boot/bootloader/stm32wb-dfu/Cargo.toml7
-rw-r--r--examples/boot/bootloader/stm32wba-dfu/Cargo.toml6
-rw-r--r--examples/lpc55s69/Cargo.toml6
-rw-r--r--examples/mimxrt1011/Cargo.toml6
-rw-r--r--examples/mimxrt1062-evk/Cargo.toml6
-rw-r--r--examples/mimxrt6/Cargo.toml6
-rw-r--r--examples/mspm0c1104/Cargo.toml7
-rw-r--r--examples/mspm0g3507/Cargo.toml6
-rw-r--r--examples/mspm0g3519/Cargo.toml6
-rw-r--r--examples/mspm0l1306/Cargo.toml6
-rw-r--r--examples/mspm0l2228/Cargo.toml6
-rw-r--r--examples/nrf-rtos-trace/Cargo.toml6
-rw-r--r--examples/nrf-rtos-trace/build.rs2
-rw-r--r--examples/nrf51/Cargo.toml6
-rw-r--r--examples/nrf52810/Cargo.toml6
-rw-r--r--examples/nrf52840-rtic/Cargo.toml6
-rw-r--r--examples/nrf52840/Cargo.toml6
-rw-r--r--examples/nrf5340/Cargo.toml6
-rw-r--r--examples/nrf54l15/Cargo.toml6
-rw-r--r--examples/nrf9151/ns/Cargo.toml6
-rw-r--r--examples/nrf9151/s/Cargo.toml6
-rw-r--r--examples/nrf9160/Cargo.toml6
-rw-r--r--examples/rp/Cargo.toml6
-rw-r--r--examples/rp235x/Cargo.toml6
-rw-r--r--examples/std/Cargo.toml6
-rw-r--r--examples/stm32c0/Cargo.toml6
-rw-r--r--examples/stm32f0/Cargo.toml6
-rw-r--r--examples/stm32f1/Cargo.toml6
-rw-r--r--examples/stm32f2/Cargo.toml6
-rw-r--r--examples/stm32f3/Cargo.toml6
-rw-r--r--examples/stm32f334/Cargo.toml6
-rw-r--r--examples/stm32f4/Cargo.toml6
-rw-r--r--examples/stm32f469/Cargo.toml6
-rw-r--r--examples/stm32f7/Cargo.toml6
-rw-r--r--examples/stm32g0/Cargo.toml6
-rw-r--r--examples/stm32g4/Cargo.toml6
-rw-r--r--examples/stm32h5/Cargo.toml6
-rw-r--r--examples/stm32h7/Cargo.toml6
-rw-r--r--examples/stm32h723/Cargo.toml6
-rw-r--r--examples/stm32h735/Cargo.toml6
-rw-r--r--examples/stm32h742/Cargo.toml6
-rw-r--r--examples/stm32h755cm4/Cargo.toml6
-rw-r--r--examples/stm32h755cm7/Cargo.toml6
-rw-r--r--examples/stm32h7b0/Cargo.toml6
-rw-r--r--examples/stm32h7rs/Cargo.toml6
-rw-r--r--examples/stm32l0/Cargo.toml6
-rw-r--r--examples/stm32l1/Cargo.toml6
-rw-r--r--examples/stm32l4/Cargo.toml6
-rw-r--r--examples/stm32l432/Cargo.toml6
-rw-r--r--examples/stm32l5/Cargo.toml6
-rw-r--r--examples/stm32u0/Cargo.toml6
-rw-r--r--examples/stm32u5/Cargo.toml6
-rw-r--r--examples/stm32wb/Cargo.toml6
-rw-r--r--examples/stm32wba/Cargo.toml6
-rw-r--r--examples/stm32wba6/Cargo.toml6
-rw-r--r--examples/stm32wl/Cargo.toml6
-rw-r--r--examples/wasm/Cargo.toml6
-rw-r--r--release/config.toml1
-rw-r--r--release/release.toml (renamed from cyw43-pio/release.toml)0
-rw-r--r--tests/mspm0/Cargo.toml6
-rw-r--r--tests/nrf/Cargo.toml11
-rw-r--r--tests/perf-client/Cargo.toml1
-rw-r--r--tests/perf-server/Cargo.toml1
-rw-r--r--tests/riscv32/Cargo.toml6
-rw-r--r--tests/rp/Cargo.toml7
-rw-r--r--tests/stm32/Cargo.toml34
-rw-r--r--tests/utils/Cargo.toml1
-rw-r--r--tests/utils/src/bin/saturate_serial.rs7
148 files changed, 1054 insertions, 421 deletions
diff --git a/ci.sh b/ci.sh
index 4fdce65d2..94bf83675 100755
--- a/ci.sh
+++ b/ci.sh
@@ -148,7 +148,7 @@ cargo batch \
148 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7b3ai,defmt,exti,time-driver-tim1,time \ 148 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7b3ai,defmt,exti,time-driver-tim1,time \
149 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7r3z8,defmt,exti,time-driver-tim1,time \ 149 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7r3z8,defmt,exti,time-driver-tim1,time \
150 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7r7a8,defmt,exti,time-driver-tim1,time \ 150 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7r7a8,defmt,exti,time-driver-tim1,time \
151 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7s3a8,log,exti,time-driver-tim1,time \ 151 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7s3a8,defmt,exti,time-driver-tim1,time \
152 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7s7z8,defmt,exti,time-driver-tim1,time \ 152 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7s7z8,defmt,exti,time-driver-tim1,time \
153 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l431cb,defmt,exti,time-driver-any,time \ 153 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l431cb,defmt,exti,time-driver-any,time \
154 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,exti,time-driver-any,time \ 154 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,exti,time-driver-any,time \
diff --git a/cyw43-pio/Cargo.toml b/cyw43-pio/Cargo.toml
index a45adeccb..91b1df5fa 100644
--- a/cyw43-pio/Cargo.toml
+++ b/cyw43-pio/Cargo.toml
@@ -15,6 +15,11 @@ embassy-rp = { version = "0.7.0", path = "../embassy-rp" }
15fixed = "1.23.1" 15fixed = "1.23.1"
16defmt = { version = "1.0.1", optional = true } 16defmt = { version = "1.0.1", optional = true }
17 17
18[package.metadata.embassy]
19build = [
20 {target = "thumbv6m-none-eabi", features = ["embassy-rp/rp2040"]},
21]
22
18[package.metadata.embassy_docs] 23[package.metadata.embassy_docs]
19src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-pio-v$VERSION/cyw43-pio/src/" 24src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-pio-v$VERSION/cyw43-pio/src/"
20src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43-pio/src/" 25src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43-pio/src/"
diff --git a/cyw43/Cargo.toml b/cyw43/Cargo.toml
index 94d9ef3eb..74660b1d9 100644
--- a/cyw43/Cargo.toml
+++ b/cyw43/Cargo.toml
@@ -38,6 +38,17 @@ heapless = "0.8.0"
38embedded-io-async = { version = "0.6.0", optional = true } 38embedded-io-async = { version = "0.6.0", optional = true }
39bt-hci = { version = "0.4.0", optional = true } 39bt-hci = { version = "0.4.0", optional = true }
40 40
41[package.metadata.embassy]
42build = [
43 {target = "thumbv6m-none-eabi", features = []},
44 {target = "thumbv6m-none-eabi", features = ["log"]},
45 {target = "thumbv6m-none-eabi", features = ["defmt"]},
46 {target = "thumbv6m-none-eabi", features = ["firmware-logs", "log"]},
47 {target = "thumbv6m-none-eabi", features = ["defmt", "firmware-logs"]},
48 {target = "thumbv6m-none-eabi", features = ["bluetooth", "firmware-logs", "log"]},
49 {target = "thumbv6m-none-eabi", features = ["bluetooth", "defmt", "firmware-logs"]},
50]
51
41[package.metadata.embassy_docs] 52[package.metadata.embassy_docs]
42src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/" 53src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/"
43src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/" 54src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/"
diff --git a/cyw43/release.toml b/cyw43/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/cyw43/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/docs/examples/basic/Cargo.toml b/docs/examples/basic/Cargo.toml
index 15fd42703..5fb137898 100644
--- a/docs/examples/basic/Cargo.toml
+++ b/docs/examples/basic/Cargo.toml
@@ -5,6 +5,7 @@ name = "embassy-basic-example"
5version = "0.1.0" 5version = "0.1.0"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7 7
8publish = false
8[dependencies] 9[dependencies]
9embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["defmt", "arch-cortex-m", "executor-thread"] } 10embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["defmt", "arch-cortex-m", "executor-thread"] }
10embassy-time = { version = "0.4.0", path = "../../../embassy-time", features = ["defmt"] } 11embassy-time = { version = "0.4.0", path = "../../../embassy-time", features = ["defmt"] }
@@ -16,3 +17,8 @@ defmt-rtt = "1.0.0"
16cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 17cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
17cortex-m-rt = "0.7.0" 18cortex-m-rt = "0.7.0"
18panic-probe = { version = "1.0.0", features = ["print-defmt"] } 19panic-probe = { version = "1.0.0", features = ["print-defmt"] }
20
21[package.metadata.embassy]
22build = [
23 { target = "thumbv7em-none-eabi" }
24]
diff --git a/docs/examples/layer-by-layer/blinky-async/Cargo.toml b/docs/examples/layer-by-layer/blinky-async/Cargo.toml
index dd0adf938..f1f678df3 100644
--- a/docs/examples/layer-by-layer/blinky-async/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-async/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7[dependencies] 8[dependencies]
8cortex-m = { version = "0.7", features = ["critical-section-single-core"] } 9cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
9cortex-m-rt = "0.7" 10cortex-m-rt = "0.7"
@@ -13,3 +14,8 @@ embassy-executor = { version = "0.8.0", path = "../../../../embassy-executor", f
13defmt = "1.0.1" 14defmt = "1.0.1"
14defmt-rtt = "1.0.0" 15defmt-rtt = "1.0.0"
15panic-probe = { version = "1.0.0", features = ["print-defmt"] } 16panic-probe = { version = "1.0.0", features = ["print-defmt"] }
17
18[package.metadata.embassy]
19build = [
20 { target = "thumbv7em-none-eabi" }
21]
diff --git a/docs/examples/layer-by-layer/blinky-hal/Cargo.toml b/docs/examples/layer-by-layer/blinky-hal/Cargo.toml
index 55795e4e2..cdfc4b850 100644
--- a/docs/examples/layer-by-layer/blinky-hal/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-hal/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7[dependencies] 8[dependencies]
8cortex-m-rt = "0.7" 9cortex-m-rt = "0.7"
9cortex-m = { version = "0.7", features = ["critical-section-single-core"] } 10cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
@@ -12,3 +13,8 @@ embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", feature
12defmt = "1.0.1" 13defmt = "1.0.1"
13defmt-rtt = "1.0.0" 14defmt-rtt = "1.0.0"
14panic-probe = { version = "1.0.0", features = ["print-defmt"] } 15panic-probe = { version = "1.0.0", features = ["print-defmt"] }
16
17[package.metadata.embassy]
18build = [
19 { target = "thumbv7em-none-eabi" }
20]
diff --git a/docs/examples/layer-by-layer/blinky-irq/Cargo.toml b/docs/examples/layer-by-layer/blinky-irq/Cargo.toml
index 4a4bda4c4..b15b228fc 100644
--- a/docs/examples/layer-by-layer/blinky-irq/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-irq/Cargo.toml
@@ -6,6 +6,7 @@ version = "0.1.0"
6edition = "2021" 6edition = "2021"
7license = "MIT OR Apache-2.0" 7license = "MIT OR Apache-2.0"
8 8
9publish = false
9[dependencies] 10[dependencies]
10cortex-m = { version = "0.7", features = ["critical-section-single-core"] } 11cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
11cortex-m-rt = { version = "0.7" } 12cortex-m-rt = { version = "0.7" }
@@ -14,3 +15,8 @@ embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", feature
14defmt = "1.0.1" 15defmt = "1.0.1"
15defmt-rtt = "1.0.0" 16defmt-rtt = "1.0.0"
16panic-probe = { version = "1.0.0", features = ["print-defmt"] } 17panic-probe = { version = "1.0.0", features = ["print-defmt"] }
18
19[package.metadata.embassy]
20build = [
21 { target = "thumbv7em-none-eabi" }
22]
diff --git a/docs/examples/layer-by-layer/blinky-pac/Cargo.toml b/docs/examples/layer-by-layer/blinky-pac/Cargo.toml
index 4e7e2f2ff..0d4711da2 100644
--- a/docs/examples/layer-by-layer/blinky-pac/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-pac/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7[dependencies] 8[dependencies]
8cortex-m = { version = "0.7", features = ["critical-section-single-core"] } 9cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
9cortex-m-rt = "0.7" 10cortex-m-rt = "0.7"
@@ -12,3 +13,8 @@ stm32-metapac = { version = "16", features = ["stm32l475vg"] }
12defmt = "1.0.1" 13defmt = "1.0.1"
13defmt-rtt = "1.0.0" 14defmt-rtt = "1.0.0"
14panic-probe = { version = "1.0.0", features = ["print-defmt"] } 15panic-probe = { version = "1.0.0", features = ["print-defmt"] }
16
17[package.metadata.embassy]
18build = [
19 { target = "thumbv7em-none-eabi" }
20]
diff --git a/embassy-boot-nrf/CHANGELOG.md b/embassy-boot-nrf/CHANGELOG.md
new file mode 100644
index 000000000..c78923a93
--- /dev/null
+++ b/embassy-boot-nrf/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-15
12
13- First release with changelog.
diff --git a/embassy-boot-nrf/Cargo.toml b/embassy-boot-nrf/Cargo.toml
index f89561066..017eadab9 100644
--- a/embassy-boot-nrf/Cargo.toml
+++ b/embassy-boot-nrf/Cargo.toml
@@ -12,6 +12,17 @@ categories = [
12 "asynchronous", 12 "asynchronous",
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv7em-none-eabi", features = ["embassy-nrf/nrf52840"]},
18 {target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf5340-app-s"]},
19 {target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9160-ns"]},
20 {target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9120-ns"]},
21 {target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9151-ns"]},
22 {target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9161-ns"]},
23]
24
25
15[package.metadata.embassy_docs] 26[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot-nrf/src/" 27src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot-nrf/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-nrf/src/" 28src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-nrf/src/"
diff --git a/embassy-boot-rp/CHANGELOG.md b/embassy-boot-rp/CHANGELOG.md
new file mode 100644
index 000000000..c78923a93
--- /dev/null
+++ b/embassy-boot-rp/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-15
12
13- First release with changelog.
diff --git a/embassy-boot-rp/Cargo.toml b/embassy-boot-rp/Cargo.toml
index 5fe376645..aee5d670d 100644
--- a/embassy-boot-rp/Cargo.toml
+++ b/embassy-boot-rp/Cargo.toml
@@ -12,6 +12,12 @@ categories = [
12 "asynchronous", 12 "asynchronous",
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv6m-none-eabi", features = ["embassy-rp/rp2040"]},
18]
19
20
15[package.metadata.embassy_docs] 21[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/" 22src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-rp/src/" 23src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-rp/src/"
diff --git a/embassy-boot-stm32/CHANGELOG.md b/embassy-boot-stm32/CHANGELOG.md
new file mode 100644
index 000000000..c78923a93
--- /dev/null
+++ b/embassy-boot-stm32/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-15
12
13- First release with changelog.
diff --git a/embassy-boot-stm32/Cargo.toml b/embassy-boot-stm32/Cargo.toml
index b1087da1c..c2cf0c596 100644
--- a/embassy-boot-stm32/Cargo.toml
+++ b/embassy-boot-stm32/Cargo.toml
@@ -12,6 +12,12 @@ categories = [
12 "asynchronous", 12 "asynchronous",
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv7em-none-eabi", features = ["embassy-stm32/stm32l496zg"]},
18]
19
20
15[package.metadata.embassy_docs] 21[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-stm32-v$VERSION/embassy-boot-stm32/src/" 22src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-stm32-v$VERSION/embassy-boot-stm32/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-stm32/src/" 23src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-stm32/src/"
diff --git a/embassy-boot/CHANGELOG.md b/embassy-boot/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-boot/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml
index 73eb19c39..a1f9e168b 100644
--- a/embassy-embedded-hal/Cargo.toml
+++ b/embassy-embedded-hal/Cargo.toml
@@ -12,6 +12,13 @@ categories = [
12 "asynchronous", 12 "asynchronous",
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv7em-none-eabi", features = []},
18 {target = "thumbv7em-none-eabi", features = ["time"]},
19]
20
21
15[package.metadata.embassy_docs] 22[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-embedded-hal-v$VERSION/embassy-embedded-hal/src/" 23src_base = "https://github.com/embassy-rs/embassy/blob/embassy-embedded-hal-v$VERSION/embassy-embedded-hal/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embedded-hal/src/" 24src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embedded-hal/src/"
diff --git a/embassy-embedded-hal/release.toml b/embassy-embedded-hal/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-embedded-hal/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-executor-timer-queue/Cargo.toml b/embassy-executor-timer-queue/Cargo.toml
index 0db327ba9..a0ac44420 100644
--- a/embassy-executor-timer-queue/Cargo.toml
+++ b/embassy-executor-timer-queue/Cargo.toml
@@ -33,3 +33,9 @@ timer-item-size-8-words = []
33src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-timer-queue-v$VERSION/embassy-executor-timer-queue/src/" 33src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-timer-queue-v$VERSION/embassy-executor-timer-queue/src/"
34src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor-timer-queue/src/" 34src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor-timer-queue/src/"
35target = "x86_64-unknown-linux-gnu" 35target = "x86_64-unknown-linux-gnu"
36
37[package.metadata.embassy]
38build = [
39 {target = "thumbv7em-none-eabi", features = []},
40 {target = "thumbv6m-none-eabi", features = []},
41]
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index bff13de56..7da807906 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -12,6 +12,26 @@ categories = [
12 "asynchronous", 12 "asynchronous",
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv7em-none-eabi", features = []},
18 {target = "thumbv7em-none-eabi", features = ["log"]},
19 {target = "thumbv7em-none-eabi", features = ["defmt"]},
20 {target = "thumbv6m-none-eabi", features = ["defmt"]},
21 {target = "thumbv6m-none-eabi", features = ["arch-cortex-m", "defmt", "executor-interrupt", "executor-thread"]},
22 {target = "thumbv7em-none-eabi", features = ["arch-cortex-m"]},
23 {target = "thumbv7em-none-eabi", features = ["arch-cortex-m", "rtos-trace"]},
24 {target = "thumbv7em-none-eabi", features = ["arch-cortex-m", "executor-thread"]},
25 {target = "thumbv7em-none-eabi", features = ["arch-cortex-m", "executor-interrupt"]},
26 {target = "thumbv7em-none-eabi", features = ["arch-cortex-m", "executor-interrupt", "executor-thread"]},
27 {target = "armv7a-none-eabi", features = ["arch-cortex-ar", "executor-thread"]},
28 {target = "armv7r-none-eabi", features = ["arch-cortex-ar", "executor-thread"]},
29 {target = "armv7r-none-eabihf", features = ["arch-cortex-ar", "executor-thread"]},
30 {target = "riscv32imac-unknown-none-elf", features = ["arch-riscv32"]},
31 {target = "riscv32imac-unknown-none-elf", features = ["arch-riscv32", "executor-thread"]},
32]
33
34
15[package.metadata.embassy_docs] 35[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" 36src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" 37src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/"
diff --git a/embassy-executor/release.toml b/embassy-executor/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-executor/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-futures/release.toml b/embassy-futures/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-futures/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-hal-internal/CHANGELOG.md b/embassy-hal-internal/CHANGELOG.md
new file mode 100644
index 000000000..c78923a93
--- /dev/null
+++ b/embassy-hal-internal/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-15
12
13- First release with changelog.
diff --git a/embassy-imxrt/CHANGELOG.md b/embassy-imxrt/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-imxrt/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-imxrt/Cargo.toml b/embassy-imxrt/Cargo.toml
index 466d5dc2c..006096e99 100644
--- a/embassy-imxrt/Cargo.toml
+++ b/embassy-imxrt/Cargo.toml
@@ -9,6 +9,13 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-imxrt" 10documentation = "https://docs.embassy.dev/embassy-imxrt"
11 11
12publish = false
13[package.metadata.embassy]
14build = [
15 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "mimxrt633s", "time", "time-driver-rtc", "unstable-pac"]},
16 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "mimxrt685s", "time", "time-driver-rtc", "unstable-pac"]},
17]
18
12[package.metadata.embassy_docs] 19[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-imxrt-v$VERSION/embassy-imxrt/src/" 20src_base = "https://github.com/embassy-rs/embassy/blob/embassy-imxrt-v$VERSION/embassy-imxrt/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-imxrt/src/" 21src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-imxrt/src/"
diff --git a/embassy-mspm0/CHANGELOG.md b/embassy-mspm0/CHANGELOG.md
index cf8aeb046..145f678cd 100644
--- a/embassy-mspm0/CHANGELOG.md
+++ b/embassy-mspm0/CHANGELOG.md
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8<!-- next-header -->
8## Unreleased - ReleaseDate 9## Unreleased - ReleaseDate
9 10
10- feat: Add I2C Controller (blocking & async) + examples for mspm0l1306, mspm0g3507 (tested MCUs) (#4435) 11- feat: Add I2C Controller (blocking & async) + examples for mspm0l1306, mspm0g3507 (tested MCUs) (#4435)
diff --git a/embassy-mspm0/Cargo.toml b/embassy-mspm0/Cargo.toml
index 221026b26..08e0fa9b3 100644
--- a/embassy-mspm0/Cargo.toml
+++ b/embassy-mspm0/Cargo.toml
@@ -9,6 +9,25 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-mspm0" 10documentation = "https://docs.embassy.dev/embassy-mspm0"
11 11
12# TODO: Remove to publish initial version
13publish = false
14
15[package.metadata.embassy]
16build = [
17 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0c1104dgs20", "time-driver-any"]},
18 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g3507pm", "time-driver-any"]},
19 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g3519pz", "time-driver-any"]},
20 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0l1306rhb", "time-driver-any"]},
21 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0l2228pn", "time-driver-any"]},
22 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0l1345dgs28", "time-driver-any"]},
23 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0l1106dgs28", "time-driver-any"]},
24 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0l1228pm", "time-driver-any"]},
25 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g1107ycj", "time-driver-any"]},
26 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g3105rhb", "time-driver-any"]},
27 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g1505pt", "time-driver-any"]},
28 {target = "thumbv6m-none-eabi", features = ["defmt", "mspm0g1519rhb", "time-driver-any"]},
29]
30
12[package.metadata.embassy_docs] 31[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-mspm0-v$VERSION/embassy-mspm0/src/" 32src_base = "https://github.com/embassy-rs/embassy/blob/embassy-mspm0-v$VERSION/embassy-mspm0/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-mspm0/src/" 33src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-mspm0/src/"
diff --git a/embassy-net-adin1110/CHANGELOG.md b/embassy-net-adin1110/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-net-adin1110/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-net-driver-channel/release.toml b/embassy-net-driver-channel/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-net-driver-channel/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-net-driver/CHANGELOG.md b/embassy-net-driver/CHANGELOG.md
index 165461eff..0c7c27d6e 100644
--- a/embassy-net-driver/CHANGELOG.md
+++ b/embassy-net-driver/CHANGELOG.md
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
8## 0.2.0 - 2023-10-18 11## 0.2.0 - 2023-10-18
9 12
10- Added support for IEEE 802.15.4 mediums. 13- Added support for IEEE 802.15.4 mediums.
diff --git a/embassy-net-enc28j60/CHANGELOG.md b/embassy-net-enc28j60/CHANGELOG.md
new file mode 100644
index 000000000..84f144f99
--- /dev/null
+++ b/embassy-net-enc28j60/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-16
12
13- First release with changelog.
diff --git a/embassy-net-esp-hosted/CHANGELOG.md b/embassy-net-esp-hosted/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-net-esp-hosted/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-net-nrf91/CHANGELOG.md b/embassy-net-nrf91/CHANGELOG.md
new file mode 100644
index 000000000..52cbf5ef3
--- /dev/null
+++ b/embassy-net-nrf91/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-14
12
13- First release with changelog.
diff --git a/embassy-net-nrf91/Cargo.toml b/embassy-net-nrf91/Cargo.toml
index 9201dc84c..feb6eb7a2 100644
--- a/embassy-net-nrf91/Cargo.toml
+++ b/embassy-net-nrf91/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "embassy-net-nrf91" 2name = "embassy-net-nrf91"
3version = "0.1.0" 3version = "0.1.1"
4edition = "2021" 4edition = "2021"
5description = "embassy-net driver for Nordic nRF91-series cellular modems" 5description = "embassy-net driver for Nordic nRF91-series cellular modems"
6keywords = ["embedded", "nrf91", "embassy-net", "cellular"] 6keywords = ["embedded", "nrf91", "embassy-net", "cellular"]
@@ -8,6 +8,7 @@ categories = ["embedded", "hardware-support", "no-std", "network-programming", "
8license = "MIT OR Apache-2.0" 8license = "MIT OR Apache-2.0"
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-net-nrf91" 10documentation = "https://docs.embassy.dev/embassy-net-nrf91"
11publish = false
11 12
12[features] 13[features]
13defmt = ["dep:defmt", "heapless/defmt-03"] 14defmt = ["dep:defmt", "heapless/defmt-03"]
@@ -29,6 +30,11 @@ heapless = "0.8"
29embedded-io = "0.6.1" 30embedded-io = "0.6.1"
30at-commands = "0.5.4" 31at-commands = "0.5.4"
31 32
33[package.metadata.embassy]
34build = [
35 {target = "thumbv7em-none-eabi", features = ["defmt", "nrf-pac/nrf9160"]}
36]
37
32[package.metadata.embassy_docs] 38[package.metadata.embassy_docs]
33src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-nrf91-v$VERSION/embassy-net-nrf91/src/" 39src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-nrf91-v$VERSION/embassy-net-nrf91/src/"
34src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-nrf91/src/" 40src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-nrf91/src/"
@@ -36,4 +42,4 @@ target = "thumbv7em-none-eabi"
36features = ["defmt", "nrf-pac/nrf9160"] 42features = ["defmt", "nrf-pac/nrf9160"]
37 43
38[package.metadata.docs.rs] 44[package.metadata.docs.rs]
39features = ["defmt"] 45features = ["defmt", "nrf-pac/nrf9160"]
diff --git a/embassy-net-ppp/CHANGELOG.md b/embassy-net-ppp/CHANGELOG.md
index 6ce64ddcb..b364608d2 100644
--- a/embassy-net-ppp/CHANGELOG.md
+++ b/embassy-net-ppp/CHANGELOG.md
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
8## 0.2.0 - 2025-01-12 11## 0.2.0 - 2025-01-12
9 12
10- Update `ppproto` to v0.2. 13- Update `ppproto` to v0.2.
diff --git a/embassy-net-wiznet/CHANGELOG.md b/embassy-net-wiznet/CHANGELOG.md
new file mode 100644
index 000000000..52cbf5ef3
--- /dev/null
+++ b/embassy-net-wiznet/CHANGELOG.md
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11## 0.1.1 - 2025-08-14
12
13- First release with changelog.
diff --git a/embassy-net/CHANGELOG.md b/embassy-net/CHANGELOG.md
index 8773772ce..39bc6c0f0 100644
--- a/embassy-net/CHANGELOG.md
+++ b/embassy-net/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10No unreleased changes yet... Quick, go send a PR! 11No unreleased changes yet... Quick, go send a PR!
11 12
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml
index babd63157..446e58489 100644
--- a/embassy-net/Cargo.toml
+++ b/embassy-net/Cargo.toml
@@ -13,6 +13,21 @@ categories = [
13 "network-programming", 13 "network-programming",
14] 14]
15 15
16[package.metadata.embassy]
17build = [
18 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "packet-trace", "proto-ipv4", "tcp", "udp"]},
19 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "multicast", "proto-ipv4", "tcp", "udp"]},
20 {target = "thumbv7em-none-eabi", features = ["defmt", "dhcpv4", "dns", "medium-ethernet", "tcp", "udp"]},
21 {target = "thumbv7em-none-eabi", features = ["defmt", "dhcpv4", "dhcpv4-hostname", "dns", "medium-ethernet", "tcp", "udp"]},
22 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "proto-ipv6", "tcp", "udp"]},
23 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ieee802154", "proto-ipv6", "tcp", "udp"]},
24 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "medium-ieee802154", "proto-ipv6", "tcp", "udp"]},
25 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "proto-ipv4", "proto-ipv6", "tcp", "udp"]},
26 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ip", "proto-ipv4", "proto-ipv6", "tcp", "udp"]},
27 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "medium-ip", "proto-ipv4", "proto-ipv6", "tcp", "udp"]},
28 {target = "thumbv7em-none-eabi", features = ["defmt", "dns", "medium-ethernet", "medium-ieee802154", "medium-ip", "proto-ipv4", "proto-ipv6", "tcp", "udp"]},
29]
30
16[package.metadata.embassy_docs] 31[package.metadata.embassy_docs]
17src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/" 32src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/"
18src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net/src/" 33src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net/src/"
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 98013aa5b..ed701dac8 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -9,6 +9,36 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-nrf" 10documentation = "https://docs.embassy.dev/embassy-nrf"
11 11
12[package.metadata.embassy]
13build = [
14 {target = "thumbv6m-none-eabi", features = ["gpiote", "nrf51", "time", "time-driver-rtc1"]},
15 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52805", "time", "time-driver-rtc1"]},
16 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52810", "time", "time-driver-rtc1"]},
17 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52811", "time", "time-driver-rtc1"]},
18 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52820", "time", "time-driver-rtc1"]},
19 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52832", "reset-pin-as-gpio", "time", "time-driver-rtc1"]},
20 {target = "thumbv7em-none-eabi", features = ["gpiote", "nfc-pins-as-gpio", "nrf52833", "time", "time-driver-rtc1"]},
21 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf9160-s", "time", "time-driver-rtc1"]},
22 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf9160-ns", "time", "time-driver-rtc1"]},
23 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-s", "time", "time-driver-rtc1"]},
24 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-ns", "time", "time-driver-rtc1"]},
25 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-net", "time", "time-driver-rtc1"]},
26 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-s", "time", "time-driver-rtc1"]},
27 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-ns", "time", "time-driver-rtc1"]},
28 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time"]},
29 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time-driver-rtc1"]},
30 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time", "time-driver-rtc1"]},
31 {target = "thumbv7em-none-eabi", features = ["gpiote", "log", "nrf52840", "time"]},
32 {target = "thumbv7em-none-eabi", features = ["gpiote", "log", "nrf52840", "time-driver-rtc1"]},
33 {target = "thumbv7em-none-eabi", features = ["gpiote", "log", "nrf52840", "time", "time-driver-rtc1"]},
34 {target = "thumbv7em-none-eabi", features = ["defmt", "gpiote", "nrf52840", "time"]},
35 {target = "thumbv7em-none-eabi", features = ["defmt", "gpiote", "nrf52840", "time-driver-rtc1"]},
36 {target = "thumbv7em-none-eabi", features = ["defmt", "gpiote", "nrf52840", "time", "time-driver-rtc1"]},
37 {target = "thumbv6m-none-eabi", features = ["defmt", "nrf51", "time", "time-driver-rtc1"]},
38 {target = "thumbv6m-none-eabi", features = ["defmt", "nrf51", "time"]},
39 {target = "thumbv6m-none-eabi", features = ["nrf51", "time"]},
40]
41
12[package.metadata.embassy_docs] 42[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nrf-v$VERSION/embassy-nrf/src/" 43src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nrf-v$VERSION/embassy-nrf/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-nrf/src/" 44src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-nrf/src/"
diff --git a/embassy-nrf/release.toml b/embassy-nrf/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-nrf/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-nxp/CHANGELOG.md b/embassy-nxp/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-nxp/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-nxp/Cargo.toml b/embassy-nxp/Cargo.toml
index 3303cabdb..70e6da076 100644
--- a/embassy-nxp/Cargo.toml
+++ b/embassy-nxp/Cargo.toml
@@ -3,6 +3,15 @@ name = "embassy-nxp"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5 5
6publish = false
7
8[package.metadata.embassy]
9build = [
10 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "lpc55"]},
11 {target = "thumbv7em-none-eabihf", features = ["defmt", "mimxrt1011", "rt", "time-driver-pit"]},
12 {target = "thumbv7em-none-eabihf", features = ["defmt", "mimxrt1062", "rt", "time-driver-pit"]},
13]
14
6[package.metadata.embassy_docs] 15[package.metadata.embassy_docs]
7src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nxp-v$VERSION/embassy-nxp/src/" 16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nxp-v$VERSION/embassy-nxp/src/"
8src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-nxp/src/" 17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-nxp/src/"
diff --git a/embassy-release/Cargo.toml b/embassy-release/Cargo.toml
deleted file mode 100644
index de548e650..000000000
--- a/embassy-release/Cargo.toml
+++ /dev/null
@@ -1,12 +0,0 @@
1[package]
2name = "embassy-release"
3version = "0.1.0"
4edition = "2021"
5
6[dependencies]
7clap = { version = "4.5.1", features = ["derive"] }
8walkdir = "2.5.0"
9toml = "0.8.8"
10toml_edit = { version = "0.23.1", features = ["serde"] }
11serde = { version = "1.0.198", features = ["derive"] }
12regex = "1.10.4"
diff --git a/embassy-release/src/main.rs b/embassy-release/src/main.rs
deleted file mode 100644
index 321d3872c..000000000
--- a/embassy-release/src/main.rs
+++ /dev/null
@@ -1,303 +0,0 @@
1use std::collections::{HashMap, HashSet};
2use std::fs;
3use std::path::{Path, PathBuf};
4use std::process::Command as ProcessCommand;
5
6use clap::{Parser, Subcommand, ValueEnum};
7use regex::Regex;
8use serde::Deserialize;
9use toml_edit::{DocumentMut, Item, Value};
10use walkdir::WalkDir;
11
12/// Tool to traverse and operate on intra-repo Rust crate dependencies
13#[derive(Parser, Debug)]
14#[command(author, version, about)]
15struct Args {
16 /// Path to the root crate
17 #[arg(value_name = "CRATE_PATH")]
18 crate_path: PathBuf,
19
20 /// Command to perform on each crate
21 #[command(subcommand)]
22 command: Command,
23
24 /// Traversal order
25 #[arg(short, long, default_value = "post")]
26 order: TraversalOrder,
27}
28
29#[derive(Debug, Clone, ValueEnum, PartialEq)]
30enum TraversalOrder {
31 Pre,
32 Post,
33}
34
35#[derive(Debug, Subcommand)]
36enum Command {
37 /// Print all dependencies
38 Dependencies,
39
40 /// Release crate
41 Release {
42 #[command(subcommand)]
43 kind: ReleaseKind,
44 },
45}
46
47#[derive(Debug, Subcommand, Clone, Copy, PartialEq)]
48enum ReleaseKind {
49 Patch,
50 Minor,
51}
52
53#[derive(Debug, Deserialize)]
54struct CargoToml {
55 package: Option<Package>,
56 dependencies: Option<Deps>,
57}
58
59#[derive(Debug, Deserialize)]
60struct Package {
61 name: String,
62 version: Option<String>,
63}
64
65#[derive(Debug, Deserialize)]
66#[serde(untagged)]
67enum Dep {
68 Version(String),
69 DetailedTable(HashMap<String, toml::Value>),
70}
71
72type Deps = std::collections::HashMap<String, Dep>;
73
74#[derive(Debug, Deserialize)]
75struct CrateConfig {
76 features: Option<Vec<String>>,
77 target: Option<String>,
78}
79
80type ReleaseConfig = HashMap<String, CrateConfig>;
81
82fn find_path_deps(cargo_path: &Path) -> Vec<PathBuf> {
83 let content = fs::read_to_string(cargo_path).unwrap_or_else(|_| {
84 panic!("Failed to read {:?}", cargo_path);
85 });
86 let parsed: CargoToml = toml::from_str(&content).unwrap_or_else(|e| {
87 panic!("Failed to parse {:?}: {}", cargo_path, e);
88 });
89
90 let mut paths = vec![];
91 if let Some(deps) = parsed.dependencies {
92 for (_name, dep) in deps {
93 match dep {
94 Dep::Version(_) => {
95 // External dependency — skip
96 }
97 Dep::DetailedTable(table) => {
98 if let Some(toml::Value::String(path)) = table.get("path") {
99 let dep_path = cargo_path.parent().unwrap().join(path).canonicalize().unwrap();
100 paths.push(dep_path);
101 }
102 }
103 }
104 }
105 }
106
107 paths
108}
109
110fn visit_recursive(
111 root_crate: &Path,
112 visited: &mut HashSet<PathBuf>,
113 output: &mut Vec<PathBuf>,
114 order: &TraversalOrder,
115) {
116 if !visited.insert(root_crate.to_path_buf()) {
117 return;
118 }
119
120 let cargo_toml = root_crate.join("Cargo.toml");
121 let deps = find_path_deps(&cargo_toml);
122
123 if *order == TraversalOrder::Pre {
124 output.push(root_crate.to_path_buf());
125 }
126
127 let mut deps_sorted = deps;
128 deps_sorted.sort();
129 for dep in deps_sorted {
130 visit_recursive(&dep, visited, output, order);
131 }
132
133 if *order == TraversalOrder::Post {
134 output.push(root_crate.to_path_buf());
135 }
136}
137
138fn get_crate_metadata(crate_path: &Path) -> Option<(String, String)> {
139 let cargo_toml = crate_path.join("Cargo.toml");
140 let content = fs::read_to_string(&cargo_toml).ok()?;
141 let parsed: CargoToml = toml::from_str(&content).ok()?;
142 let pkg = parsed.package?;
143 let name = pkg.name;
144 let version = pkg.version?;
145 Some((name, version))
146}
147
148fn load_release_config() -> ReleaseConfig {
149 let config_path = PathBuf::from("release/config.toml");
150 if !config_path.exists() {
151 return HashMap::new();
152 }
153 let content = fs::read_to_string(&config_path).expect("Failed to read release/config.toml");
154 toml::from_str(&content).expect("Invalid TOML format in release/config.toml")
155}
156
157fn bump_dependency_versions(crate_name: &str, new_version: &str) -> Result<(), String> {
158 let mut cargo_files: Vec<PathBuf> = WalkDir::new(".")
159 .into_iter()
160 .filter_map(Result::ok)
161 .filter(|e| e.file_name() == "Cargo.toml")
162 .map(|e| e.into_path())
163 .collect();
164
165 cargo_files.sort();
166
167 for path in cargo_files {
168 let content = fs::read_to_string(&path).map_err(|e| format!("Failed to read {}: {}", path.display(), e))?;
169
170 let mut doc: DocumentMut = content
171 .parse()
172 .map_err(|e| format!("Failed to parse TOML in {}: {}", path.display(), e))?;
173
174 let mut changed = false;
175
176 for section in ["dependencies", "dev-dependencies", "build-dependencies"] {
177 if let Some(Item::Table(dep_table)) = doc.get_mut(section) {
178 if let Some(item) = dep_table.get_mut(crate_name) {
179 match item {
180 // e.g., foo = "0.1.0"
181 Item::Value(Value::String(_)) => {
182 *item = Item::Value(Value::from(new_version));
183 changed = true;
184 }
185 // e.g., foo = { version = "...", ... }
186 Item::Value(Value::InlineTable(inline)) => {
187 if inline.contains_key("version") {
188 inline["version"] = Value::from(new_version);
189 changed = true;
190 }
191 }
192 _ => {} // Leave unusual formats untouched
193 }
194 }
195 }
196 }
197
198 if changed {
199 fs::write(&path, doc.to_string()).map_err(|e| format!("Failed to write {}: {}", path.display(), e))?;
200 println!("🔧 Updated {} to {} in {}", crate_name, new_version, path.display());
201 }
202 }
203
204 Ok(())
205}
206
207fn run_release_command(
208 crate_path: &Path,
209 crate_name: &str,
210 version: &str,
211 kind: &ReleaseKind,
212 config: Option<&CrateConfig>,
213) -> Result<(), String> {
214 let kind_str = match kind {
215 ReleaseKind::Patch => "patch",
216 ReleaseKind::Minor => "minor",
217 };
218
219 if *kind == ReleaseKind::Minor {
220 bump_dependency_versions(crate_name, version)?;
221 }
222
223 let mut args: Vec<String> = vec!["release".into(), kind_str.into()];
224
225 if let Some(cfg) = config {
226 if let Some(features) = &cfg.features {
227 args.push("--features".into());
228 args.push(features.join(","));
229 }
230 if let Some(target) = &cfg.target {
231 args.push("--target".into());
232 args.push(target.clone());
233 }
234 }
235
236 let status = ProcessCommand::new("cargo")
237 .args(&args)
238 .current_dir(crate_path)
239 .status()
240 .map_err(|e| format!("Failed to run cargo release: {}", e))?;
241
242 if !status.success() {
243 return Err(format!("`cargo release {}` failed in crate {}", kind_str, crate_name));
244 }
245
246 //args.push("--execute".into());
247 //let status = ProcessCommand::new("cargo")
248 // .args(&args)
249 // .current_dir(crate_path)
250 // .status()
251 // .map_err(|e| format!("Failed to run cargo release --execute: {}", e))?;
252
253 //if !status.success() {
254 // return Err(format!(
255 // "`cargo release {kind_str} --execute` failed in crate {crate_name}"
256 // ));
257 //}
258
259 Ok(())
260}
261
262fn main() {
263 let args = Args::parse();
264 let root = args.crate_path.canonicalize().expect("Invalid root crate path");
265
266 match args.command {
267 Command::Dependencies => {
268 let mut visited = HashSet::new();
269 let mut ordered = vec![];
270 visit_recursive(&root, &mut visited, &mut ordered, &args.order);
271 for path in ordered {
272 if let Some((name, _)) = get_crate_metadata(&path) {
273 println!("{name}");
274 } else {
275 eprintln!("Warning: could not read crate name from {:?}", path);
276 }
277 }
278 }
279 Command::Release { kind } => {
280 let config = load_release_config();
281 let path = root;
282 match get_crate_metadata(&path) {
283 Some((name, version)) => {
284 println!("🚀 Releasing {name}...");
285 let crate_cfg = config.get(&name);
286 match run_release_command(&path, &name, &version, &kind, crate_cfg) {
287 Ok(_) => {
288 println!("✅ Released {name}");
289 }
290 Err(e) => {
291 eprintln!("❌ Error releasing {name}:\n{e}");
292 eprintln!("\nYou may retry with: `cargo run -- {path:?} release {kind:?}`");
293 std::process::exit(1);
294 }
295 }
296 }
297 None => {
298 eprintln!("Warning: Could not parse crate metadata in {:?}", path);
299 }
300 }
301 }
302 }
303}
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index 7f2167f90..a5f84944e 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -9,6 +9,17 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-rp" 10documentation = "https://docs.embassy.dev/embassy-rp"
11 11
12[package.metadata.embassy]
13build = [
14 {target = "thumbv6m-none-eabi", features = ["defmt", "rp2040", "time-driver"]},
15 {target = "thumbv6m-none-eabi", features = ["log", "rp2040", "time-driver"]},
16 {target = "thumbv6m-none-eabi", features = ["intrinsics", "rp2040", "time-driver"]},
17 {target = "thumbv6m-none-eabi", features = ["qspi-as-gpio", "rp2040", "time-driver"]},
18 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "rp235xa", "time-driver"]},
19 {target = "thumbv8m.main-none-eabihf", features = ["log", "rp235xa", "time-driver"]},
20 {target = "thumbv8m.main-none-eabihf", features = ["binary-info", "rp235xa", "time-driver"]},
21]
22
12[package.metadata.embassy_docs] 23[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/" 24src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-rp/src/" 25src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-rp/src/"
diff --git a/embassy-rp/release.toml b/embassy-rp/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-rp/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-stm32-wpan/CHANGELOG.md b/embassy-stm32-wpan/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-stm32-wpan/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-stm32-wpan/Cargo.toml b/embassy-stm32-wpan/Cargo.toml
index 0932e4739..2bdb0d6c4 100644
--- a/embassy-stm32-wpan/Cargo.toml
+++ b/embassy-stm32-wpan/Cargo.toml
@@ -9,6 +9,13 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-stm32-wpan" 10documentation = "https://docs.embassy.dev/embassy-stm32-wpan"
11 11
12publish = false
13
14[package.metadata.embassy]
15build = [
16 {target = "thumbv7em-none-eabi", features = ["stm32wb55rg"]},
17]
18
12[package.metadata.embassy_docs] 19[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-wpan-v$VERSION/embassy-stm32-wpan/src/" 20src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-wpan-v$VERSION/embassy-stm32-wpan/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-stm32-wpan/src/" 21src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-stm32-wpan/src/"
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml
index 45b351acf..dc8ee5d43 100644
--- a/embassy-stm32/Cargo.toml
+++ b/embassy-stm32/Cargo.toml
@@ -9,6 +9,99 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-stm32" 10documentation = "https://docs.embassy.dev/embassy-stm32"
11 11
12[package.metadata.embassy]
13build = [
14 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "exti", "stm32l552ze", "time", "time-driver-any"]},
15 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "stm32l552ze", "time", "time-driver-any"]},
16 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "exti", "stm32l552ze", "time"]},
17 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "stm32l552ze", "time"]},
18 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "exti", "stm32l552ze"]},
19 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "stm32l552ze"]},
20 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "single-bank", "stm32l552ze"]},
21 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32c071rb", "time", "time-driver-any"]},
22 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32c051f6", "time", "time-driver-any"]},
23 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32c091gb", "time", "time-driver-any"]},
24 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32c092rc", "time", "time-driver-any"]},
25 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f038f6", "time", "time-driver-any"]},
26 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f030c6", "time", "time-driver-any"]},
27 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f058t8", "time", "time-driver-any"]},
28 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f030r8", "time", "time-driver-any"]},
29 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f031k6", "time", "time-driver-any"]},
30 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f030rc", "time", "time-driver-any"]},
31 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f070f6", "time", "time-driver-any"]},
32 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f078vb", "time", "time-driver-any"]},
33 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f042g4", "time", "time-driver-any"]},
34 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32f072c8", "time", "time-driver-any"]},
35 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f401ve", "time-driver-any"]},
36 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f405zg", "time-driver-any"]},
37 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f407zg", "time-driver-any"]},
38 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f401ve", "time", "time-driver-any"]},
39 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f405zg", "time", "time-driver-any"]},
40 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f407zg", "time", "time-driver-any"]},
41 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f410tb", "time", "time-driver-any"]},
42 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f411ce", "time", "time-driver-any"]},
43 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f412zg", "time", "time-driver-any"]},
44 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f413vh", "time", "time-driver-any"]},
45 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f415zg", "time", "time-driver-any"]},
46 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f417zg", "time", "time-driver-any"]},
47 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f423zh", "time", "time-driver-any"]},
48 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f427zi", "time", "time-driver-any"]},
49 {target = "thumbv7em-none-eabi", features = ["exti", "log", "stm32f429zi", "time", "time-driver-any"]},
50 {target = "thumbv7em-none-eabi", features = ["exti", "log", "stm32f437zi", "time", "time-driver-any"]},
51 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f439zi", "time", "time-driver-any"]},
52 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f446ze", "time", "time-driver-any"]},
53 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f469zi", "time", "time-driver-any"]},
54 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f479zi", "time", "time-driver-any"]},
55 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f730i8", "time", "time-driver-any"]},
56 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h753zi", "time", "time-driver-any"]},
57 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h735zg", "time", "time-driver-any"]},
58 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "split-pc2", "split-pc3", "stm32h755zi-cm7", "time", "time-driver-any"]},
59 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h725re", "time", "time-driver-any"]},
60 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7b3ai", "time", "time-driver-any"]},
61 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7b3ai", "time", "time-driver-tim1"]},
62 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7r3z8", "time", "time-driver-tim1"]},
63 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7r7a8", "time", "time-driver-tim1"]},
64 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7s3a8", "time", "time-driver-tim1"]},
65 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32h7s7z8", "time", "time-driver-tim1"]},
66 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32l431cb", "time", "time-driver-any"]},
67 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32l476vg", "time", "time-driver-any"]},
68 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32l422cb", "time", "time-driver-any"]},
69 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32wb15cc", "time", "time-driver-any"]},
70 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32l072cz", "time", "time-driver-any"]},
71 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32l041f6", "time", "time-driver-any"]},
72 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32l051k8", "time", "time-driver-any"]},
73 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "low-power", "stm32l073cz", "time", "time-driver-any"]},
74 {target = "thumbv7m-none-eabi", features = ["defmt", "exti", "stm32l151cb-a", "time", "time-driver-any"]},
75 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f303c8", "time", "time-driver-any"]},
76 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f398ve", "time", "time-driver-any"]},
77 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32f378cc", "time", "time-driver-any"]},
78 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32g0b0ce", "time", "time-driver-any"]},
79 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32g0c1ve", "time", "time-driver-any"]},
80 {target = "thumbv7m-none-eabi", features = ["defmt", "exti", "stm32f217zg", "time", "time-driver-any"]},
81 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "dual-bank", "exti", "low-power", "stm32l552ze", "time", "time-driver-any"]},
82 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32wl54jc-cm0p", "time", "time-driver-any"]},
83 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32wle5jb", "time", "time-driver-any"]},
84 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32g431kb", "time", "time-driver-any"]},
85 {target = "thumbv7em-none-eabi", features = ["defmt", "dual-bank", "exti", "stm32g474pe", "time", "time-driver-any"]},
86 {target = "thumbv7m-none-eabi", features = ["defmt", "exti", "stm32f107vc", "time", "time-driver-any"]},
87 {target = "thumbv7m-none-eabi", features = ["defmt", "exti", "stm32f103re", "time", "time-driver-any"]},
88 {target = "thumbv7m-none-eabi", features = ["defmt", "exti", "stm32f100c4", "time", "time-driver-any"]},
89 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32h503rb", "time", "time-driver-any"]},
90 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32h523cc", "time", "time-driver-any"]},
91 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32h562ag", "time", "time-driver-any"]},
92 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32wba50ke", "time", "time-driver-any"]},
93 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32wba55ug", "time", "time-driver-any"]},
94 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32wba62cg", "time", "time-driver-any"]},
95 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "low-power", "stm32wba65ri", "time", "time-driver-any"]},
96 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5f9zj", "time", "time-driver-any"]},
97 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5g9nj", "time", "time-driver-any"]},
98 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32wb35ce", "time", "time-driver-any"]},
99 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "low-power", "stm32wb55rg", "time", "time-driver-any"]},
100 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32u031r8", "time", "time-driver-any"]},
101 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32u073mb", "time", "time-driver-any"]},
102 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32u083rc", "time", "time-driver-any"]},
103]
104
12[package.metadata.embassy_docs] 105[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-v$VERSION/embassy-stm32/src/" 106src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-v$VERSION/embassy-stm32/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-stm32/src/" 107src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-stm32/src/"
@@ -80,8 +173,8 @@ cortex-m = "0.7.6"
80futures-util = { version = "0.3.30", default-features = false } 173futures-util = { version = "0.3.30", default-features = false }
81sdio-host = "0.9.0" 174sdio-host = "0.9.0"
82critical-section = "1.1" 175critical-section = "1.1"
83# stm32-metapac = { version = "17" } 176stm32-metapac = { version = "18" }
84stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-ecb93d42a6cbcd9e09cab74873908a2ca22327f7" } 177#stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-ecb93d42a6cbcd9e09cab74873908a2ca22327f7" }
85 178
86vcell = "0.1.3" 179vcell = "0.1.3"
87nb = "1.0.0" 180nb = "1.0.0"
@@ -109,8 +202,8 @@ proptest-state-machine = "0.3.0"
109proc-macro2 = "1.0.36" 202proc-macro2 = "1.0.36"
110quote = "1.0.15" 203quote = "1.0.15"
111 204
112# stm32-metapac = { version = "17", default-features = false, features = ["metadata"]} 205stm32-metapac = { version = "18", default-features = false, features = ["metadata"]}
113stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-ecb93d42a6cbcd9e09cab74873908a2ca22327f7", default-features = false, features = ["metadata"] } 206#stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-ecb93d42a6cbcd9e09cab74873908a2ca22327f7", default-features = false, features = ["metadata"] }
114 207
115[features] 208[features]
116default = ["rt"] 209default = ["rt"]
diff --git a/embassy-stm32/release.toml b/embassy-stm32/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-stm32/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-stm32/src/sai/mod.rs b/embassy-stm32/src/sai/mod.rs
index 0c9c27797..524e01be7 100644
--- a/embassy-stm32/src/sai/mod.rs
+++ b/embassy-stm32/src/sai/mod.rs
@@ -48,7 +48,7 @@ pub enum Mode {
48} 48}
49 49
50impl Mode { 50impl Mode {
51 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 51 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
52 const fn mode(&self, tx_rx: TxRx) -> vals::Mode { 52 const fn mode(&self, tx_rx: TxRx) -> vals::Mode {
53 match tx_rx { 53 match tx_rx {
54 TxRx::Transmitter => match self { 54 TxRx::Transmitter => match self {
@@ -83,7 +83,7 @@ pub enum SlotSize {
83} 83}
84 84
85impl SlotSize { 85impl SlotSize {
86 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 86 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
87 const fn slotsz(&self) -> vals::Slotsz { 87 const fn slotsz(&self) -> vals::Slotsz {
88 match self { 88 match self {
89 SlotSize::DataSize => vals::Slotsz::DATA_SIZE, 89 SlotSize::DataSize => vals::Slotsz::DATA_SIZE,
@@ -106,7 +106,7 @@ pub enum DataSize {
106} 106}
107 107
108impl DataSize { 108impl DataSize {
109 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 109 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
110 const fn ds(&self) -> vals::Ds { 110 const fn ds(&self) -> vals::Ds {
111 match self { 111 match self {
112 DataSize::Data8 => vals::Ds::BIT8, 112 DataSize::Data8 => vals::Ds::BIT8,
@@ -131,7 +131,7 @@ pub enum FifoThreshold {
131} 131}
132 132
133impl FifoThreshold { 133impl FifoThreshold {
134 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 134 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
135 const fn fth(&self) -> vals::Fth { 135 const fn fth(&self) -> vals::Fth {
136 match self { 136 match self {
137 FifoThreshold::Empty => vals::Fth::EMPTY, 137 FifoThreshold::Empty => vals::Fth::EMPTY,
@@ -152,7 +152,7 @@ pub enum MuteValue {
152} 152}
153 153
154impl MuteValue { 154impl MuteValue {
155 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 155 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
156 const fn muteval(&self) -> vals::Muteval { 156 const fn muteval(&self) -> vals::Muteval {
157 match self { 157 match self {
158 MuteValue::Zero => vals::Muteval::SEND_ZERO, 158 MuteValue::Zero => vals::Muteval::SEND_ZERO,
@@ -171,7 +171,7 @@ pub enum Protocol {
171} 171}
172 172
173impl Protocol { 173impl Protocol {
174 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 174 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
175 const fn prtcfg(&self) -> vals::Prtcfg { 175 const fn prtcfg(&self) -> vals::Prtcfg {
176 match self { 176 match self {
177 Protocol::Free => vals::Prtcfg::FREE, 177 Protocol::Free => vals::Prtcfg::FREE,
@@ -229,7 +229,7 @@ pub enum StereoMono {
229} 229}
230 230
231impl StereoMono { 231impl StereoMono {
232 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 232 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
233 const fn mono(&self) -> vals::Mono { 233 const fn mono(&self) -> vals::Mono {
234 match self { 234 match self {
235 StereoMono::Stereo => vals::Mono::STEREO, 235 StereoMono::Stereo => vals::Mono::STEREO,
@@ -248,7 +248,7 @@ pub enum BitOrder {
248} 248}
249 249
250impl BitOrder { 250impl BitOrder {
251 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 251 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
252 const fn lsbfirst(&self) -> vals::Lsbfirst { 252 const fn lsbfirst(&self) -> vals::Lsbfirst {
253 match self { 253 match self {
254 BitOrder::LsbFirst => vals::Lsbfirst::LSB_FIRST, 254 BitOrder::LsbFirst => vals::Lsbfirst::LSB_FIRST,
@@ -267,7 +267,7 @@ pub enum FrameSyncOffset {
267} 267}
268 268
269impl FrameSyncOffset { 269impl FrameSyncOffset {
270 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 270 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
271 const fn fsoff(&self) -> vals::Fsoff { 271 const fn fsoff(&self) -> vals::Fsoff {
272 match self { 272 match self {
273 FrameSyncOffset::OnFirstBit => vals::Fsoff::ON_FIRST, 273 FrameSyncOffset::OnFirstBit => vals::Fsoff::ON_FIRST,
@@ -286,7 +286,7 @@ pub enum FrameSyncPolarity {
286} 286}
287 287
288impl FrameSyncPolarity { 288impl FrameSyncPolarity {
289 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 289 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
290 const fn fspol(&self) -> vals::Fspol { 290 const fn fspol(&self) -> vals::Fspol {
291 match self { 291 match self {
292 FrameSyncPolarity::ActiveLow => vals::Fspol::FALLING_EDGE, 292 FrameSyncPolarity::ActiveLow => vals::Fspol::FALLING_EDGE,
@@ -304,7 +304,7 @@ pub enum FrameSyncDefinition {
304} 304}
305 305
306impl FrameSyncDefinition { 306impl FrameSyncDefinition {
307 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 307 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
308 const fn fsdef(&self) -> bool { 308 const fn fsdef(&self) -> bool {
309 match self { 309 match self {
310 FrameSyncDefinition::StartOfFrame => false, 310 FrameSyncDefinition::StartOfFrame => false,
@@ -322,7 +322,7 @@ pub enum ClockStrobe {
322} 322}
323 323
324impl ClockStrobe { 324impl ClockStrobe {
325 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 325 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
326 const fn ckstr(&self) -> vals::Ckstr { 326 const fn ckstr(&self) -> vals::Ckstr {
327 match self { 327 match self {
328 ClockStrobe::Falling => vals::Ckstr::FALLING_EDGE, 328 ClockStrobe::Falling => vals::Ckstr::FALLING_EDGE,
@@ -340,7 +340,7 @@ pub enum ComplementFormat {
340} 340}
341 341
342impl ComplementFormat { 342impl ComplementFormat {
343 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 343 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
344 const fn cpl(&self) -> vals::Cpl { 344 const fn cpl(&self) -> vals::Cpl {
345 match self { 345 match self {
346 ComplementFormat::OnesComplement => vals::Cpl::ONES_COMPLEMENT, 346 ComplementFormat::OnesComplement => vals::Cpl::ONES_COMPLEMENT,
@@ -359,7 +359,7 @@ pub enum Companding {
359} 359}
360 360
361impl Companding { 361impl Companding {
362 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 362 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
363 const fn comp(&self) -> vals::Comp { 363 const fn comp(&self) -> vals::Comp {
364 match self { 364 match self {
365 Companding::None => vals::Comp::NO_COMPANDING, 365 Companding::None => vals::Comp::NO_COMPANDING,
@@ -378,7 +378,7 @@ pub enum OutputDrive {
378} 378}
379 379
380impl OutputDrive { 380impl OutputDrive {
381 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 381 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
382 const fn outdriv(&self) -> vals::Outdriv { 382 const fn outdriv(&self) -> vals::Outdriv {
383 match self { 383 match self {
384 OutputDrive::OnStart => vals::Outdriv::ON_START, 384 OutputDrive::OnStart => vals::Outdriv::ON_START,
@@ -390,7 +390,7 @@ impl OutputDrive {
390/// Master clock divider. 390/// Master clock divider.
391#[derive(Copy, Clone, PartialEq)] 391#[derive(Copy, Clone, PartialEq)]
392#[allow(missing_docs)] 392#[allow(missing_docs)]
393#[cfg(any(sai_v1, sai_v2))] 393#[cfg(any(sai_v1, sai_v1_4pdm, sai_v2))]
394pub enum MasterClockDivider { 394pub enum MasterClockDivider {
395 MasterClockDisabled, 395 MasterClockDisabled,
396 Div1, 396 Div1,
@@ -483,7 +483,7 @@ pub enum MasterClockDivider {
483} 483}
484 484
485impl MasterClockDivider { 485impl MasterClockDivider {
486 #[cfg(any(sai_v1, sai_v2))] 486 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2))]
487 const fn mckdiv(&self) -> u8 { 487 const fn mckdiv(&self) -> u8 {
488 match self { 488 match self {
489 MasterClockDivider::MasterClockDisabled => 0, 489 MasterClockDivider::MasterClockDisabled => 0,
@@ -704,7 +704,7 @@ fn update_synchronous_config(config: &mut Config) {
704 config.mode = Mode::Slave; 704 config.mode = Mode::Slave;
705 config.sync_output = false; 705 config.sync_output = false;
706 706
707 #[cfg(any(sai_v1, sai_v2))] 707 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2))]
708 { 708 {
709 config.sync_input = SyncInput::Internal; 709 config.sync_input = SyncInput::Internal;
710 } 710 }
@@ -858,7 +858,7 @@ impl<'d, T: Instance, W: word::Word> Sai<'d, T, W> {
858 ) -> Self { 858 ) -> Self {
859 let ch = T::REGS.ch(sub_block as usize); 859 let ch = T::REGS.ch(sub_block as usize);
860 860
861 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 861 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
862 { 862 {
863 ch.cr1().modify(|w| w.set_saien(false)); 863 ch.cr1().modify(|w| w.set_saien(false));
864 } 864 }
@@ -884,7 +884,7 @@ impl<'d, T: Instance, W: word::Word> Sai<'d, T, W> {
884 } 884 }
885 } 885 }
886 886
887 #[cfg(any(sai_v1, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))] 887 #[cfg(any(sai_v1, sai_v1_4pdm, sai_v2, sai_v3_2pdm, sai_v3_4pdm, sai_v4_2pdm, sai_v4_4pdm))]
888 { 888 {
889 ch.cr1().modify(|w| { 889 ch.cr1().modify(|w| {
890 w.set_mode(config.mode.mode(if Self::is_transmitter(&ring_buffer) { 890 w.set_mode(config.mode.mode(if Self::is_transmitter(&ring_buffer) {
@@ -899,14 +899,8 @@ impl<'d, T: Instance, W: word::Word> Sai<'d, T, W> {
899 w.set_syncen(config.sync_input.syncen()); 899 w.set_syncen(config.sync_input.syncen());
900 w.set_mono(config.stereo_mono.mono()); 900 w.set_mono(config.stereo_mono.mono());
901 w.set_outdriv(config.output_drive.outdriv()); 901 w.set_outdriv(config.output_drive.outdriv());
902 w.set_mckdiv(config.master_clock_divider.mckdiv()); 902 w.set_mckdiv(config.master_clock_divider.mckdiv().into());
903 w.set_nodiv( 903 w.set_nodiv(config.master_clock_divider == MasterClockDivider::MasterClockDisabled);
904 if config.master_clock_divider == MasterClockDivider::MasterClockDisabled {
905 vals::Nodiv::NO_DIV
906 } else {
907 vals::Nodiv::MASTER_CLOCK
908 },
909 );
910 w.set_dmaen(true); 904 w.set_dmaen(true);
911 }); 905 });
912 906
diff --git a/embassy-sync/CHANGELOG.md b/embassy-sync/CHANGELOG.md
index fa0340c68..7418ead8d 100644
--- a/embassy-sync/CHANGELOG.md
+++ b/embassy-sync/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10- Add `get_mut` to `LazyLock` 11- Add `get_mut` to `LazyLock`
11- Add more `Debug` impls to `embassy-sync`, particularly on `OnceLock` 12- Add more `Debug` impls to `embassy-sync`, particularly on `OnceLock`
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml
index e60f5e34c..e31c9a674 100644
--- a/embassy-sync/Cargo.toml
+++ b/embassy-sync/Cargo.toml
@@ -14,6 +14,11 @@ categories = [
14 "asynchronous", 14 "asynchronous",
15] 15]
16 16
17[package.metadata.embassy]
18build = [
19 {target = "thumbv6m-none-eabi", features = ["defmt"]},
20]
21
17[package.metadata.embassy_docs] 22[package.metadata.embassy_docs]
18src_base = "https://github.com/embassy-rs/embassy/blob/embassy-sync-v$VERSION/embassy-sync/src/" 23src_base = "https://github.com/embassy-rs/embassy/blob/embassy-sync-v$VERSION/embassy-sync/src/"
19src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/src/" 24src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/src/"
diff --git a/embassy-time-driver/release.toml b/embassy-time-driver/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-time-driver/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-time-queue-utils/CHANGELOG.md b/embassy-time-queue-utils/CHANGELOG.md
index 26200503c..510c29d58 100644
--- a/embassy-time-queue-utils/CHANGELOG.md
+++ b/embassy-time-queue-utils/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10- Removed the embassy-executor dependency 11- Removed the embassy-executor dependency
11 12
diff --git a/embassy-time-queue-utils/Cargo.toml b/embassy-time-queue-utils/Cargo.toml
index 8991da66c..2a659548e 100644
--- a/embassy-time-queue-utils/Cargo.toml
+++ b/embassy-time-queue-utils/Cargo.toml
@@ -52,6 +52,12 @@ generic-queue-128 = ["_generic-queue"]
52 52
53_generic-queue = [] 53_generic-queue = []
54 54
55[package.metadata.embassy]
56build = [
57 {target = "thumbv6m-none-eabi", features = []},
58 {target = "thumbv6m-none-eabi", features = ["generic-queue-8"]},
59]
60
55[package.metadata.embassy_docs] 61[package.metadata.embassy_docs]
56src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-queue-utils-v$VERSION/embassy-time-queue-utils/src/" 62src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-queue-utils-v$VERSION/embassy-time-queue-utils/src/"
57src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time-queue-utils/src/" 63src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time-queue-utils/src/"
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml
index 163dbe95f..eff8e2975 100644
--- a/embassy-time/Cargo.toml
+++ b/embassy-time/Cargo.toml
@@ -14,6 +14,12 @@ categories = [
14 "asynchronous", 14 "asynchronous",
15] 15]
16 16
17[package.metadata.embassy]
18build = [
19 {target = "thumbv6m-none-eabi", features = ["defmt", "defmt-timestamp-uptime", "mock-driver"]},
20 {features = ["defmt", "std"]},
21]
22
17[package.metadata.embassy_docs] 23[package.metadata.embassy_docs]
18src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-v$VERSION/embassy-time/src/" 24src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-v$VERSION/embassy-time/src/"
19src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time/src/" 25src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time/src/"
diff --git a/embassy-time/release.toml b/embassy-time/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-time/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-usb-dfu/CHANGELOG.md b/embassy-usb-dfu/CHANGELOG.md
new file mode 100644
index 000000000..7042ad14c
--- /dev/null
+++ b/embassy-usb-dfu/CHANGELOG.md
@@ -0,0 +1,11 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8<!-- next-header -->
9## Unreleased - ReleaseDate
10
11- First release with changelog.
diff --git a/embassy-usb-dfu/Cargo.toml b/embassy-usb-dfu/Cargo.toml
index 8d1f231ed..ce2f80b31 100644
--- a/embassy-usb-dfu/Cargo.toml
+++ b/embassy-usb-dfu/Cargo.toml
@@ -12,6 +12,12 @@ categories = [
12 "asynchronous" 12 "asynchronous"
13] 13]
14 14
15[package.metadata.embassy]
16build = [
17 { target = "thumbv7em-none-eabi", features = [ "defmt", "cortex-m", "dfu" ] },
18 { target = "thumbv7em-none-eabi", features = [ "defmt", "cortex-m", "application" ] },
19]
20
15[package.metadata.embassy_docs] 21[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb-dfu/src/" 22src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb-dfu/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-dfu/src/" 23src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-dfu/src/"
diff --git a/embassy-usb-driver/release.toml b/embassy-usb-driver/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-usb-driver/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/embassy-usb-logger/CHANGELOG.md b/embassy-usb-logger/CHANGELOG.md
index 79ea25839..c88b3ed6a 100644
--- a/embassy-usb-logger/CHANGELOG.md
+++ b/embassy-usb-logger/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10## 0.5.0 - 2025-07-22 11## 0.5.0 - 2025-07-22
11 12
diff --git a/embassy-usb-synopsys-otg/CHANGELOG.md b/embassy-usb-synopsys-otg/CHANGELOG.md
index 9913ee533..55eef0a1e 100644
--- a/embassy-usb-synopsys-otg/CHANGELOG.md
+++ b/embassy-usb-synopsys-otg/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10## 0.3.0 - 2025-07-22 11## 0.3.0 - 2025-07-22
11 12
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml
index 93e3e1e31..89b3c318d 100644
--- a/embassy-usb/Cargo.toml
+++ b/embassy-usb/Cargo.toml
@@ -9,6 +9,17 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
9repository = "https://github.com/embassy-rs/embassy" 9repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/embassy-usb" 10documentation = "https://docs.embassy.dev/embassy-usb"
11 11
12[package.metadata.embassy]
13build = [
14 {target = "thumbv6m-none-eabi", features = []},
15 {target = "thumbv6m-none-eabi", features = ["log"]},
16 {target = "thumbv6m-none-eabi", features = ["defmt"]},
17 {target = "thumbv6m-none-eabi", features = ["usbd-hid"]},
18 {target = "thumbv6m-none-eabi", features = ["max-interface-count-1"]},
19 {target = "thumbv6m-none-eabi", features = ["max-interface-count-8"]},
20 {target = "thumbv6m-none-eabi", features = ["max-handler-count-8"]},
21]
22
12[package.metadata.embassy_docs] 23[package.metadata.embassy_docs]
13src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/" 24src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/"
14src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/src/" 25src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/src/"
diff --git a/embassy-usb/release.toml b/embassy-usb/release.toml
deleted file mode 100644
index fb6feaf21..000000000
--- a/embassy-usb/release.toml
+++ /dev/null
@@ -1,5 +0,0 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]
diff --git a/examples/boot/application/nrf/Cargo.toml b/examples/boot/application/nrf/Cargo.toml
index c8e1def4a..f55b14f38 100644
--- a/examples/boot/application/nrf/Cargo.toml
+++ b/examples/boot/application/nrf/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-nrf-examples" 3name = "embassy-boot-nrf-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -32,3 +33,12 @@ defmt = [
32 "embassy-boot-nrf/defmt", 33 "embassy-boot-nrf/defmt",
33 "embassy-sync/defmt", 34 "embassy-sync/defmt",
34] 35]
36
37[package.metadata.embassy]
38build = [
39 { target = "thumbv7em-none-eabi", features = ["embassy-nrf/nrf52840", "skip-include"], artifact-dir = "out/examples/boot/nrf52840" },
40 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9160-ns", "skip-include"], artifact-dir = "out/examples/boot/nrf9160" },
41 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9120-ns", "skip-include"], artifact-dir = "out/examples/boot/nrf9120" },
42 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9151-ns", "skip-include"], artifact-dir = "out/examples/boot/nrf9151" },
43 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9161-ns", "skip-include"], artifact-dir = "out/examples/boot/nrf9161" }
44]
diff --git a/examples/boot/application/rp/Cargo.toml b/examples/boot/application/rp/Cargo.toml
index 7fd6f8f97..c60f2b9a8 100644
--- a/examples/boot/application/rp/Cargo.toml
+++ b/examples/boot/application/rp/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-rp-examples" 3name = "embassy-boot-rp-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -34,3 +35,8 @@ skip-include = []
34 35
35[profile.release] 36[profile.release]
36debug = true 37debug = true
38
39[package.metadata.embassy]
40build = [
41 { target = "thumbv6m-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/rp" }
42]
diff --git a/examples/boot/application/stm32f3/Cargo.toml b/examples/boot/application/stm32f3/Cargo.toml
index f9d5922b1..004050d40 100644
--- a/examples/boot/application/stm32f3/Cargo.toml
+++ b/examples/boot/application/stm32f3/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32f3-examples" 3name = "embassy-boot-stm32f3-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -29,3 +30,8 @@ defmt = [
29 "embassy-sync/defmt", 30 "embassy-sync/defmt",
30] 31]
31skip-include = [] 32skip-include = []
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv7em-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32f3" }
37]
diff --git a/examples/boot/application/stm32f7/Cargo.toml b/examples/boot/application/stm32f7/Cargo.toml
index f831e7f68..74a1d498e 100644
--- a/examples/boot/application/stm32f7/Cargo.toml
+++ b/examples/boot/application/stm32f7/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32f7-examples" 3name = "embassy-boot-stm32f7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -30,3 +31,8 @@ defmt = [
30 "embassy-sync/defmt", 31 "embassy-sync/defmt",
31] 32]
32skip-include = [] 33skip-include = []
34
35[package.metadata.embassy]
36build = [
37 { target = "thumbv7em-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32f7" }
38]
diff --git a/examples/boot/application/stm32h7/Cargo.toml b/examples/boot/application/stm32h7/Cargo.toml
index 29d54c47f..acf1da96d 100644
--- a/examples/boot/application/stm32h7/Cargo.toml
+++ b/examples/boot/application/stm32h7/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32h7-examples" 3name = "embassy-boot-stm32h7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -30,3 +31,8 @@ defmt = [
30 "embassy-sync/defmt", 31 "embassy-sync/defmt",
31] 32]
32skip-include = [] 33skip-include = []
34
35[package.metadata.embassy]
36build = [
37 { target = "thumbv7em-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32h7" }
38]
diff --git a/examples/boot/application/stm32l0/Cargo.toml b/examples/boot/application/stm32l0/Cargo.toml
index 7c6c1dc78..0f5e8ac08 100644
--- a/examples/boot/application/stm32l0/Cargo.toml
+++ b/examples/boot/application/stm32l0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32l0-examples" 3name = "embassy-boot-stm32l0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -29,3 +30,8 @@ defmt = [
29 "embassy-sync/defmt", 30 "embassy-sync/defmt",
30] 31]
31skip-include = [] 32skip-include = []
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv6m-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32l0" }
37]
diff --git a/examples/boot/application/stm32l1/Cargo.toml b/examples/boot/application/stm32l1/Cargo.toml
index ecb498325..eb7279fb0 100644
--- a/examples/boot/application/stm32l1/Cargo.toml
+++ b/examples/boot/application/stm32l1/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32l1-examples" 3name = "embassy-boot-stm32l1-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -29,3 +30,8 @@ defmt = [
29 "embassy-sync/defmt", 30 "embassy-sync/defmt",
30] 31]
31skip-include = [] 32skip-include = []
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv7m-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32l1" }
37]
diff --git a/examples/boot/application/stm32l4/Cargo.toml b/examples/boot/application/stm32l4/Cargo.toml
index 075f7b986..1d1830ba0 100644
--- a/examples/boot/application/stm32l4/Cargo.toml
+++ b/examples/boot/application/stm32l4/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32l4-examples" 3name = "embassy-boot-stm32l4-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -29,3 +30,8 @@ defmt = [
29 "embassy-sync/defmt", 30 "embassy-sync/defmt",
30] 31]
31skip-include = [] 32skip-include = []
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv7em-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32l4" }
37]
diff --git a/examples/boot/application/stm32wb-dfu/Cargo.toml b/examples/boot/application/stm32wb-dfu/Cargo.toml
index 65fac6062..5aa48c31b 100644
--- a/examples/boot/application/stm32wb-dfu/Cargo.toml
+++ b/examples/boot/application/stm32wb-dfu/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32wb-dfu-examples" 3name = "embassy-boot-stm32wb-dfu-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -30,3 +31,8 @@ defmt = [
30 "embassy-boot-stm32/defmt", 31 "embassy-boot-stm32/defmt",
31 "embassy-sync/defmt", 32 "embassy-sync/defmt",
32] 33]
34
35[package.metadata.embassy]
36build = [
37 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/boot/stm32wb-dfu" }
38]
diff --git a/examples/boot/application/stm32wba-dfu/Cargo.toml b/examples/boot/application/stm32wba-dfu/Cargo.toml
index 469924422..880551ad7 100644
--- a/examples/boot/application/stm32wba-dfu/Cargo.toml
+++ b/examples/boot/application/stm32wba-dfu/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32wba-dfu-examples" 3name = "embassy-boot-stm32wba-dfu-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -30,3 +31,8 @@ defmt = [
30 "embassy-boot-stm32/defmt", 31 "embassy-boot-stm32/defmt",
31 "embassy-sync/defmt", 32 "embassy-sync/defmt",
32] 33]
34
35[package.metadata.embassy]
36build = [
37 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/boot/stm32wba-dfu" }
38]
diff --git a/examples/boot/application/stm32wl/Cargo.toml b/examples/boot/application/stm32wl/Cargo.toml
index fb8112edf..ee9ab0729 100644
--- a/examples/boot/application/stm32wl/Cargo.toml
+++ b/examples/boot/application/stm32wl/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-boot-stm32wl-examples" 3name = "embassy-boot-stm32wl-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } 9embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" }
@@ -29,3 +30,8 @@ defmt = [
29 "embassy-sync/defmt", 30 "embassy-sync/defmt",
30] 31]
31skip-include = [] 32skip-include = []
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv7em-none-eabi", features = ["skip-include"], artifact-dir = "out/examples/boot/stm32wl" }
37]
diff --git a/examples/boot/bootloader/nrf/Cargo.toml b/examples/boot/bootloader/nrf/Cargo.toml
index 157448054..2b54bbec8 100644
--- a/examples/boot/bootloader/nrf/Cargo.toml
+++ b/examples/boot/bootloader/nrf/Cargo.toml
@@ -4,6 +4,7 @@ name = "nrf-bootloader-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Bootloader for nRF chips" 5description = "Bootloader for nRF chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -57,3 +58,12 @@ debug = false
57debug-assertions = false 58debug-assertions = false
58opt-level = 0 59opt-level = 0
59overflow-checks = false 60overflow-checks = false
61
62[package.metadata.embassy]
63build = [
64 { target = "thumbv7em-none-eabi", features = ["embassy-nrf/nrf52840"] },
65 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9160-ns"] },
66 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9120-ns"] },
67 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9151-ns"] },
68 { target = "thumbv8m.main-none-eabihf", features = ["embassy-nrf/nrf9161-ns"] }
69]
diff --git a/examples/boot/bootloader/rp/Cargo.toml b/examples/boot/bootloader/rp/Cargo.toml
index 034043274..b89332f0b 100644
--- a/examples/boot/bootloader/rp/Cargo.toml
+++ b/examples/boot/bootloader/rp/Cargo.toml
@@ -4,6 +4,7 @@ name = "rp-bootloader-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Example bootloader for RP2040 chips" 5description = "Example bootloader for RP2040 chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -31,3 +32,8 @@ defmt = [
31[profile.release] 32[profile.release]
32debug = true 33debug = true
33opt-level = 's' 34opt-level = 's'
35
36[package.metadata.embassy]
37build = [
38 { target = "thumbv6m-none-eabi" }
39]
diff --git a/examples/boot/bootloader/stm32-dual-bank/Cargo.toml b/examples/boot/bootloader/stm32-dual-bank/Cargo.toml
index 75c7783b8..82fbee9f1 100644
--- a/examples/boot/bootloader/stm32-dual-bank/Cargo.toml
+++ b/examples/boot/bootloader/stm32-dual-bank/Cargo.toml
@@ -4,6 +4,7 @@ name = "stm32-bootloader-dual-bank-flash-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Example bootloader for dual-bank flash STM32 chips" 5description = "Example bootloader for dual-bank flash STM32 chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -54,3 +55,8 @@ debug = false
54debug-assertions = false 55debug-assertions = false
55opt-level = 0 56opt-level = 0
56overflow-checks = false 57overflow-checks = false
58
59[package.metadata.embassy]
60build = [
61 { target = "thumbv7em-none-eabi", features = ["embassy-stm32/stm32h743zi"] }
62]
diff --git a/examples/boot/bootloader/stm32/Cargo.toml b/examples/boot/bootloader/stm32/Cargo.toml
index 3f54b823b..a9a4aa95a 100644
--- a/examples/boot/bootloader/stm32/Cargo.toml
+++ b/examples/boot/bootloader/stm32/Cargo.toml
@@ -4,6 +4,7 @@ name = "stm32-bootloader-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Example bootloader for STM32 chips" 5description = "Example bootloader for STM32 chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -56,3 +57,8 @@ debug = false
56debug-assertions = false 57debug-assertions = false
57opt-level = 0 58opt-level = 0
58overflow-checks = false 59overflow-checks = false
60
61[package.metadata.embassy]
62build = [
63 { target = "thumbv7em-none-eabi", features = ["embassy-stm32/stm32l496zg"] }
64]
diff --git a/examples/boot/bootloader/stm32wb-dfu/Cargo.toml b/examples/boot/bootloader/stm32wb-dfu/Cargo.toml
index 1aad71ebc..75783d66e 100644
--- a/examples/boot/bootloader/stm32wb-dfu/Cargo.toml
+++ b/examples/boot/bootloader/stm32wb-dfu/Cargo.toml
@@ -4,6 +4,7 @@ name = "stm32wb-dfu-bootloader-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Example USB DFUbootloader for the STM32WB series of chips" 5description = "Example USB DFUbootloader for the STM32WB series of chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -62,3 +63,9 @@ debug = false
62debug-assertions = false 63debug-assertions = false
63opt-level = 0 64opt-level = 0
64overflow-checks = false 65overflow-checks = false
66
67[package.metadata.embassy]
68build = [
69 { target = "thumbv7em-none-eabi", features = ["embassy-stm32/stm32wb55rg"] },
70 { target = "thumbv7em-none-eabi", features = ["embassy-stm32/stm32wb55rg", "verify"] }
71]
diff --git a/examples/boot/bootloader/stm32wba-dfu/Cargo.toml b/examples/boot/bootloader/stm32wba-dfu/Cargo.toml
index e31edb699..773060ab3 100644
--- a/examples/boot/bootloader/stm32wba-dfu/Cargo.toml
+++ b/examples/boot/bootloader/stm32wba-dfu/Cargo.toml
@@ -4,6 +4,7 @@ name = "stm32wba6-dfu-bootloader-example"
4version = "0.1.0" 4version = "0.1.0"
5description = "Example USB DFUbootloader for the STM32WBA series of chips" 5description = "Example USB DFUbootloader for the STM32WBA series of chips"
6license = "MIT OR Apache-2.0" 6license = "MIT OR Apache-2.0"
7publish = false
7 8
8[dependencies] 9[dependencies]
9defmt = { version = "1.0.1", optional = true } 10defmt = { version = "1.0.1", optional = true }
@@ -62,3 +63,8 @@ debug = false
62debug-assertions = false 63debug-assertions = false
63opt-level = 0 64opt-level = 0
64overflow-checks = false 65overflow-checks = false
66
67[package.metadata.embassy]
68build = [
69 { target = "thumbv8m.main-none-eabihf", features = ["embassy-stm32/stm32wba65ri", "verify"] }
70]
diff --git a/examples/lpc55s69/Cargo.toml b/examples/lpc55s69/Cargo.toml
index d66e3e2ec..bf28ee20f 100644
--- a/examples/lpc55s69/Cargo.toml
+++ b/examples/lpc55s69/Cargo.toml
@@ -4,6 +4,7 @@ name = "embassy-nxp-lpc55s69-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7 8
8[dependencies] 9[dependencies]
9embassy-nxp = { version = "0.1.0", path = "../../embassy-nxp", features = ["lpc55", "rt", "defmt", "time-driver-rtc"] } 10embassy-nxp = { version = "0.1.0", path = "../../embassy-nxp", features = ["lpc55", "rt", "defmt", "time-driver-rtc"] }
@@ -20,3 +21,8 @@ panic-semihosting = "0.6.0"
20 21
21[profile.release] 22[profile.release]
22debug = 2 23debug = 2
24
25[package.metadata.embassy]
26build = [
27 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/lpc55s69" }
28]
diff --git a/examples/mimxrt1011/Cargo.toml b/examples/mimxrt1011/Cargo.toml
index 59b1eaa10..49d628811 100644
--- a/examples/mimxrt1011/Cargo.toml
+++ b/examples/mimxrt1011/Cargo.toml
@@ -3,6 +3,7 @@ name = "embassy-imxrt1011-examples"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT or Apache-2.0" 5license = "MIT or Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] } 9cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
@@ -27,3 +28,8 @@ imxrt-rt = { version = "0.1.7", features = ["device"] }
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv7em-none-eabihf", artifact-dir = "out/examples/mimxrt1011" }
35]
diff --git a/examples/mimxrt1062-evk/Cargo.toml b/examples/mimxrt1062-evk/Cargo.toml
index bfa06f608..816695a32 100644
--- a/examples/mimxrt1062-evk/Cargo.toml
+++ b/examples/mimxrt1062-evk/Cargo.toml
@@ -3,6 +3,7 @@ name = "embassy-imxrt1062-evk-examples"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT or Apache-2.0" 5license = "MIT or Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] } 9cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
@@ -27,3 +28,8 @@ imxrt-rt = { version = "0.1.7", features = ["device"] }
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv7em-none-eabihf", artifact-dir = "out/examples/mimxrt1062-evk" }
35]
diff --git a/examples/mimxrt6/Cargo.toml b/examples/mimxrt6/Cargo.toml
index 2667ec089..8ae636921 100644
--- a/examples/mimxrt6/Cargo.toml
+++ b/examples/mimxrt6/Cargo.toml
@@ -3,6 +3,7 @@ name = "embassy-imxrt-examples"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT or Apache-2.0" 5license = "MIT or Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] } 9cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
@@ -58,3 +59,8 @@ incremental = false
58lto = 'fat' 59lto = 'fat'
59opt-level = 3 # <- 60opt-level = 3 # <-
60overflow-checks = false # <- 61overflow-checks = false # <-
62
63[package.metadata.embassy]
64build = [
65 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/mimxrt6" }
66]
diff --git a/examples/mspm0c1104/Cargo.toml b/examples/mspm0c1104/Cargo.toml
index 93ae4913a..decb1a6e2 100644
--- a/examples/mspm0c1104/Cargo.toml
+++ b/examples/mspm0c1104/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-c1104-examples" 3name = "embassy-mspm0-c1104-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0c1104dgs20", "defmt", "rt", "time-driver-any"] } 9embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0c1104dgs20", "defmt", "rt", "time-driver-any"] }
@@ -30,3 +31,9 @@ debug = 0
30opt-level = "z" 31opt-level = "z"
31lto = true 32lto = true
32codegen-units = 1 33codegen-units = 1
34
35[package.metadata.embassy]
36skip = true # TODO: remove when we find a way to decrease the defmt buffer size in ci.
37build = [
38 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/mspm0c1104" }
39]
diff --git a/examples/mspm0g3507/Cargo.toml b/examples/mspm0g3507/Cargo.toml
index 7544db230..04efb681c 100644
--- a/examples/mspm0g3507/Cargo.toml
+++ b/examples/mspm0g3507/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-g3507-examples" 3name = "embassy-mspm0-g3507-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0g3507pm", "defmt", "rt", "time-driver-any"] } 9embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0g3507pm", "defmt", "rt", "time-driver-any"] }
@@ -21,3 +22,8 @@ embedded-io-async = "0.6.1"
21 22
22[profile.release] 23[profile.release]
23debug = 2 24debug = 2
25
26[package.metadata.embassy]
27build = [
28 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/mspm0g3507" }
29]
diff --git a/examples/mspm0g3519/Cargo.toml b/examples/mspm0g3519/Cargo.toml
index 145a67b96..bb31b52ff 100644
--- a/examples/mspm0g3519/Cargo.toml
+++ b/examples/mspm0g3519/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-g3519-examples" 3name = "embassy-mspm0-g3519-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0g3519pz", "defmt", "rt", "time-driver-any"] } 9embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0g3519pz", "defmt", "rt", "time-driver-any"] }
@@ -19,3 +20,8 @@ panic-semihosting = "0.6.0"
19 20
20[profile.release] 21[profile.release]
21debug = 2 22debug = 2
23
24[package.metadata.embassy]
25build = [
26 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/mspm0g3519" }
27]
diff --git a/examples/mspm0l1306/Cargo.toml b/examples/mspm0l1306/Cargo.toml
index 724ca58a0..c41017e17 100644
--- a/examples/mspm0l1306/Cargo.toml
+++ b/examples/mspm0l1306/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-l1306-examples" 3name = "embassy-mspm0-l1306-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0l1306rhb", "defmt", "rt", "time-driver-any"] } 9embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0l1306rhb", "defmt", "rt", "time-driver-any"] }
@@ -23,3 +24,8 @@ debug = 2
23[profile.dev] 24[profile.dev]
24debug = 2 25debug = 2
25opt-level = 2 26opt-level = 2
27
28[package.metadata.embassy]
29build = [
30 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/mspm0l1306" }
31]
diff --git a/examples/mspm0l2228/Cargo.toml b/examples/mspm0l2228/Cargo.toml
index 0bec500db..7295eb599 100644
--- a/examples/mspm0l2228/Cargo.toml
+++ b/examples/mspm0l2228/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-l2228-examples" 3name = "embassy-mspm0-l2228-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0l2228pn", "defmt", "rt", "time-driver-any"] } 9embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0l2228pn", "defmt", "rt", "time-driver-any"] }
@@ -19,3 +20,8 @@ panic-semihosting = "0.6.0"
19 20
20[profile.release] 21[profile.release]
21debug = 2 22debug = 2
23
24[package.metadata.embassy]
25build = [
26 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/mspm0l2228" }
27]
diff --git a/examples/nrf-rtos-trace/Cargo.toml b/examples/nrf-rtos-trace/Cargo.toml
index 4ef986d96..60875f434 100644
--- a/examples/nrf-rtos-trace/Cargo.toml
+++ b/examples/nrf-rtos-trace/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf-rtos-trace-examples" 3name = "embassy-nrf-rtos-trace-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[features] 8[features]
8default = ["log"] 9default = ["log"]
@@ -34,3 +35,8 @@ name = "rtos_trace"
34 35
35[profile.release] 36[profile.release]
36debug = 2 37debug = 2
38
39[package.metadata.embassy]
40build = [
41 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/nrf-rtos-trace" }
42]
diff --git a/examples/nrf-rtos-trace/build.rs b/examples/nrf-rtos-trace/build.rs
index 36cdb65a8..cd1a264c4 100644
--- a/examples/nrf-rtos-trace/build.rs
+++ b/examples/nrf-rtos-trace/build.rs
@@ -31,6 +31,4 @@ fn main() {
31 31
32 println!("cargo:rustc-link-arg-bins=--nmagic"); 32 println!("cargo:rustc-link-arg-bins=--nmagic");
33 println!("cargo:rustc-link-arg-bins=-Tlink.x"); 33 println!("cargo:rustc-link-arg-bins=-Tlink.x");
34 #[cfg(feature = "defmt")]
35 println!("cargo:rustc-link-arg-bins=-Tdefmt.x");
36} 34}
diff --git a/examples/nrf51/Cargo.toml b/examples/nrf51/Cargo.toml
index 524feca38..93acdab8a 100644
--- a/examples/nrf51/Cargo.toml
+++ b/examples/nrf51/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf51-examples" 3name = "embassy-nrf51-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } 9embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
@@ -18,3 +19,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
18 19
19[profile.release] 20[profile.release]
20debug = 2 21debug = 2
22
23[package.metadata.embassy]
24build = [
25 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/nrf51" }
26]
diff --git a/examples/nrf52810/Cargo.toml b/examples/nrf52810/Cargo.toml
index 2b4612a51..000521265 100644
--- a/examples/nrf52810/Cargo.toml
+++ b/examples/nrf52810/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf52810-examples" 3name = "embassy-nrf52810-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } 9embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
@@ -22,3 +23,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
22 23
23[profile.release] 24[profile.release]
24debug = 2 25debug = 2
26
27[package.metadata.embassy]
28build = [
29 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/nrf52810" }
30]
diff --git a/examples/nrf52840-rtic/Cargo.toml b/examples/nrf52840-rtic/Cargo.toml
index d5fddd46e..5e37913a9 100644
--- a/examples/nrf52840-rtic/Cargo.toml
+++ b/examples/nrf52840-rtic/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf52840-rtic-examples" 3name = "embassy-nrf52840-rtic-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8rtic = { version = "2", features = ["thumbv7-backend"] } 9rtic = { version = "2", features = ["thumbv7-backend"] }
@@ -22,3 +23,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
22 23
23[profile.release] 24[profile.release]
24debug = 2 25debug = 2
26
27[package.metadata.embassy]
28build = [
29 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/nrf52840-rtic" }
30]
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml
index b28ee0f4f..026681822 100644
--- a/examples/nrf52840/Cargo.toml
+++ b/examples/nrf52840/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf52840-examples" 3name = "embassy-nrf52840-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } 9embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
@@ -37,3 +38,8 @@ microfft = "0.5.0"
37 38
38[profile.release] 39[profile.release]
39debug = 2 40debug = 2
41
42[package.metadata.embassy]
43build = [
44 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/nrf52840" }
45]
diff --git a/examples/nrf5340/Cargo.toml b/examples/nrf5340/Cargo.toml
index 19c5e707f..36f74e4b1 100644
--- a/examples/nrf5340/Cargo.toml
+++ b/examples/nrf5340/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf5340-examples" 3name = "embassy-nrf5340-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } 9embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
@@ -27,3 +28,8 @@ serde = { version = "1.0.136", default-features = false }
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/nrf5340" }
35]
diff --git a/examples/nrf54l15/Cargo.toml b/examples/nrf54l15/Cargo.toml
index 5f1ee50a0..b794b217c 100644
--- a/examples/nrf54l15/Cargo.toml
+++ b/examples/nrf54l15/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf54l15-examples" 3name = "embassy-nrf54l15-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } 9embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
@@ -20,3 +21,8 @@ embedded-storage = "0.3.1"
20 21
21[profile.release] 22[profile.release]
22debug = 2 23debug = 2
24
25[package.metadata.embassy]
26build = [
27 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/nrf54l15" }
28]
diff --git a/examples/nrf9151/ns/Cargo.toml b/examples/nrf9151/ns/Cargo.toml
index e7551723d..35550b8c5 100644
--- a/examples/nrf9151/ns/Cargo.toml
+++ b/examples/nrf9151/ns/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf9151-non-secure-examples" 3name = "embassy-nrf9151-non-secure-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } 9embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
@@ -18,3 +19,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
18 19
19[profile.release] 20[profile.release]
20debug = 2 21debug = 2
22
23[package.metadata.embassy]
24build = [
25 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/nrf9151/ns" }
26]
diff --git a/examples/nrf9151/s/Cargo.toml b/examples/nrf9151/s/Cargo.toml
index 7f675c5e1..3ef8b33fd 100644
--- a/examples/nrf9151/s/Cargo.toml
+++ b/examples/nrf9151/s/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf9151-secure-examples" 3name = "embassy-nrf9151-secure-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } 9embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
@@ -18,3 +19,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
18 19
19[profile.release] 20[profile.release]
20debug = 2 21debug = 2
22
23[package.metadata.embassy]
24build = [
25 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/nrf9151/s" }
26]
diff --git a/examples/nrf9160/Cargo.toml b/examples/nrf9160/Cargo.toml
index 263986c4e..245232c1f 100644
--- a/examples/nrf9160/Cargo.toml
+++ b/examples/nrf9160/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf9160-examples" 3name = "embassy-nrf9160-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } 9embassy-executor = { version = "0.8.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
@@ -24,3 +25,8 @@ embedded-io-async = { version = "0.6.1", features = ["defmt-03"] }
24 25
25[profile.release] 26[profile.release]
26debug = 2 27debug = 2
28
29[package.metadata.embassy]
30build = [
31 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/nrf9160" }
32]
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml
index afe8a90d8..d97ebf43e 100644
--- a/examples/rp/Cargo.toml
+++ b/examples/rp/Cargo.toml
@@ -4,6 +4,7 @@ name = "embassy-rp-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7 8
8[dependencies] 9[dependencies]
9embassy-embedded-hal = { version = "0.4.0", path = "../../embassy-embedded-hal", features = ["defmt"] } 10embassy-embedded-hal = { version = "0.4.0", path = "../../embassy-embedded-hal", features = ["defmt"] }
@@ -60,3 +61,8 @@ embedded-sdmmc = "0.7.0"
60[profile.release] 61[profile.release]
61# Enable generation of debug symbols even on release builds 62# Enable generation of debug symbols even on release builds
62debug = true 63debug = true
64
65[package.metadata.embassy]
66build = [
67 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/rp" }
68]
diff --git a/examples/rp235x/Cargo.toml b/examples/rp235x/Cargo.toml
index 9087c4c83..2c279d7e1 100644
--- a/examples/rp235x/Cargo.toml
+++ b/examples/rp235x/Cargo.toml
@@ -4,6 +4,7 @@ name = "embassy-rp2350-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7publish = false
7 8
8[dependencies] 9[dependencies]
9embassy-embedded-hal = { version = "0.4.0", path = "../../embassy-embedded-hal", features = ["defmt"] } 10embassy-embedded-hal = { version = "0.4.0", path = "../../embassy-embedded-hal", features = ["defmt"] }
@@ -60,3 +61,8 @@ embedded-sdmmc = "0.7.0"
60[profile.release] 61[profile.release]
61# Enable generation of debug symbols even on release builds 62# Enable generation of debug symbols even on release builds
62debug = true 63debug = true
64
65[package.metadata.embassy]
66build = [
67 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/rp235x" }
68]
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml
index 9b0ff8be2..6d56d97af 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-std-examples" 3name = "embassy-std-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["log"] } 9embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["log"] }
@@ -27,3 +28,8 @@ static_cell = "2"
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { artifact-dir = "out/examples/std" }
35]
diff --git a/examples/stm32c0/Cargo.toml b/examples/stm32c0/Cargo.toml
index 0a8d4ff2d..56b966d49 100644
--- a/examples/stm32c0/Cargo.toml
+++ b/examples/stm32c0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32c0-examples" 3name = "embassy-stm32c0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32c031c6 to your chip name, if necessary. 9# Change stm32c031c6 to your chip name, if necessary.
@@ -23,3 +24,8 @@ chrono = { version = "^0.4", default-features = false}
23 24
24[profile.release] 25[profile.release]
25debug = 2 26debug = 2
27
28[package.metadata.embassy]
29build = [
30 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/stm32c0" }
31]
diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml
index c3d1b99e5..6cc6eac46 100644
--- a/examples/stm32f0/Cargo.toml
+++ b/examples/stm32f0/Cargo.toml
@@ -3,6 +3,7 @@ name = "embassy-stm32f0-examples"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f091rc to your chip name, if necessary. 9# Change stm32f091rc to your chip name, if necessary.
@@ -20,3 +21,8 @@ portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] }
20 21
21[profile.release] 22[profile.release]
22debug = 2 23debug = 2
24
25[package.metadata.embassy]
26build = [
27 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/stm32f0" }
28]
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml
index b91c781db..3cb7bd5e3 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f1-examples" 3name = "embassy-stm32f1-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f103c8 to your chip name, if necessary. 9# Change stm32f103c8 to your chip name, if necessary.
@@ -29,3 +30,8 @@ opt-level = "s"
29 30
30[profile.release] 31[profile.release]
31debug = 2 32debug = 2
33
34[package.metadata.embassy]
35build = [
36 { target = "thumbv7m-none-eabi", artifact-dir = "out/examples/stm32f1" }
37]
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml
index 74ecb141d..9c5a7cd7f 100644
--- a/examples/stm32f2/Cargo.toml
+++ b/examples/stm32f2/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f2-examples" 3name = "embassy-stm32f2-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f207zg to your chip name, if necessary. 9# Change stm32f207zg to your chip name, if necessary.
@@ -23,3 +24,8 @@ nb = "1.0.0"
23 24
24[profile.release] 25[profile.release]
25debug = 2 26debug = 2
27
28[package.metadata.embassy]
29build = [
30 { target = "thumbv7m-none-eabi", artifact-dir = "out/examples/stm32f2" }
31]
diff --git a/examples/stm32f3/Cargo.toml b/examples/stm32f3/Cargo.toml
index 2cea5028a..690bcb00d 100644
--- a/examples/stm32f3/Cargo.toml
+++ b/examples/stm32f3/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f3-examples" 3name = "embassy-stm32f3-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f303ze to your chip name, if necessary. 9# Change stm32f303ze to your chip name, if necessary.
@@ -27,3 +28,8 @@ static_cell = "2"
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32f3" }
35]
diff --git a/examples/stm32f334/Cargo.toml b/examples/stm32f334/Cargo.toml
index 8d015eae7..709da6ed6 100644
--- a/examples/stm32f334/Cargo.toml
+++ b/examples/stm32f334/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f334-examples" 3name = "embassy-stm32f334-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["defmt"] } 9embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["defmt"] }
@@ -23,3 +24,8 @@ heapless = { version = "0.8", default-features = false }
23nb = "1.0.0" 24nb = "1.0.0"
24embedded-storage = "0.3.1" 25embedded-storage = "0.3.1"
25static_cell = "2" 26static_cell = "2"
27
28[package.metadata.embassy]
29build = [
30 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32f334" }
31]
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml
index 3139bdf71..52b48e744 100644
--- a/examples/stm32f4/Cargo.toml
+++ b/examples/stm32f4/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f4-examples" 3name = "embassy-stm32f4-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f429zi to your chip name, if necessary. 9# Change stm32f429zi to your chip name, if necessary.
@@ -37,3 +38,8 @@ chrono = { version = "^0.4", default-features = false}
37 38
38[profile.release] 39[profile.release]
39debug = 2 40debug = 2
41
42[package.metadata.embassy]
43build = [
44 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32f4" }
45]
diff --git a/examples/stm32f469/Cargo.toml b/examples/stm32f469/Cargo.toml
index a35a811e2..612081242 100644
--- a/examples/stm32f469/Cargo.toml
+++ b/examples/stm32f469/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f469-examples" 3name = "embassy-stm32f469-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Specific examples only for stm32f469 9# Specific examples only for stm32f469
@@ -20,3 +21,8 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
20 21
21[profile.release] 22[profile.release]
22debug = 2 23debug = 2
24
25[package.metadata.embassy]
26build = [
27 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32f469" }
28]
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index 261524bc1..1e5ea8d33 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f7-examples" 3name = "embassy-stm32f7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f777zi to your chip name, if necessary. 9# Change stm32f777zi to your chip name, if necessary.
@@ -33,3 +34,8 @@ aes-gcm = { version = "0.10.3", default-features = false, features = ["aes", "he
33 34
34[profile.release] 35[profile.release]
35debug = 2 36debug = 2
37
38[package.metadata.embassy]
39build = [
40 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32f7" }
41]
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml
index 61e20168c..7b0da5077 100644
--- a/examples/stm32g0/Cargo.toml
+++ b/examples/stm32g0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32g0-examples" 3name = "embassy-stm32g0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32g0b1re to your chip name, if necessary. 9# Change stm32g0b1re to your chip name, if necessary.
@@ -27,3 +28,8 @@ embedded-io-async = { version = "0.6.1" }
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/stm32g0" }
35]
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml
index c25df6ea8..15292725f 100644
--- a/examples/stm32g4/Cargo.toml
+++ b/examples/stm32g4/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32g4-examples" 3name = "embassy-stm32g4-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32g491re to your chip name, if necessary. 9# Change stm32g491re to your chip name, if necessary.
@@ -27,3 +28,8 @@ static_cell = "2.0.0"
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32g4" }
35]
diff --git a/examples/stm32h5/Cargo.toml b/examples/stm32h5/Cargo.toml
index 68563dba0..7f9a77e85 100644
--- a/examples/stm32h5/Cargo.toml
+++ b/examples/stm32h5/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h5-examples" 3name = "embassy-stm32h5-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h563zi to your chip name, if necessary. 9# Change stm32h563zi to your chip name, if necessary.
@@ -69,3 +70,8 @@ incremental = false
69lto = 'fat' 70lto = 'fat'
70opt-level = 3 # <- 71opt-level = 3 # <-
71overflow-checks = false # <- 72overflow-checks = false # <-
73
74[package.metadata.embassy]
75build = [
76 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/stm32h5" }
77]
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index 04c9b5bda..be0e46938 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h7-examples" 3name = "embassy-stm32h7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h743bi to your chip name, if necessary. 9# Change stm32h743bi to your chip name, if necessary.
@@ -72,3 +73,8 @@ incremental = false
72lto = 'fat' 73lto = 'fat'
73opt-level = 3 # <- 74opt-level = 3 # <-
74overflow-checks = false # <- 75overflow-checks = false # <-
76
77[package.metadata.embassy]
78build = [
79 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h7" }
80]
diff --git a/examples/stm32h723/Cargo.toml b/examples/stm32h723/Cargo.toml
index f7d819867..5a762259b 100644
--- a/examples/stm32h723/Cargo.toml
+++ b/examples/stm32h723/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h723-examples" 3name = "embassy-stm32h723-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h723zg to your chip name, if necessary. 9# Change stm32h723zg to your chip name, if necessary.
@@ -66,3 +67,8 @@ incremental = false
66lto = 'fat' 67lto = 'fat'
67opt-level = 3 # <- 68opt-level = 3 # <-
68overflow-checks = false # <- 69overflow-checks = false # <-
70
71[package.metadata.embassy]
72build = [
73 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h723" }
74]
diff --git a/examples/stm32h735/Cargo.toml b/examples/stm32h735/Cargo.toml
index 946daf550..0b55424e8 100644
--- a/examples/stm32h735/Cargo.toml
+++ b/examples/stm32h735/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h735-examples" 3name = "embassy-stm32h735-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = ["defmt", "stm32h735ig", "time-driver-tim2", "exti", "memory-x", "unstable-pac", "chrono"] } 9embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = ["defmt", "stm32h735ig", "time-driver-tim2", "exti", "memory-x", "unstable-pac", "chrono"] }
@@ -59,3 +60,8 @@ incremental = false
59lto = 'fat' 60lto = 'fat'
60opt-level = 3 # <- 61opt-level = 3 # <-
61overflow-checks = false # <- 62overflow-checks = false # <-
63
64[package.metadata.embassy]
65build = [
66 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h735" }
67]
diff --git a/examples/stm32h742/Cargo.toml b/examples/stm32h742/Cargo.toml
index 8448c2c7a..067663538 100644
--- a/examples/stm32h742/Cargo.toml
+++ b/examples/stm32h742/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32f7-examples" 3name = "embassy-stm32f7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32f777zi to your chip name, if necessary. 9# Change stm32f777zi to your chip name, if necessary.
@@ -63,3 +64,8 @@ aes-gcm = { version = "0.10.3", default-features = false, features = [
63 64
64[profile.release] 65[profile.release]
65debug = 2 66debug = 2
67
68[package.metadata.embassy]
69build = [
70 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h742" }
71]
diff --git a/examples/stm32h755cm4/Cargo.toml b/examples/stm32h755cm4/Cargo.toml
index e1ddf59be..6cd1893d2 100644
--- a/examples/stm32h755cm4/Cargo.toml
+++ b/examples/stm32h755cm4/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h755cm4-examples" 3name = "embassy-stm32h755cm4-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h755zi-cm4 to your chip name, if necessary. 9# Change stm32h755zi-cm4 to your chip name, if necessary.
@@ -64,3 +65,8 @@ incremental = false
64lto = 'fat' 65lto = 'fat'
65opt-level = 3 # <- 66opt-level = 3 # <-
66overflow-checks = false # <- 67overflow-checks = false # <-
68
69[package.metadata.embassy]
70build = [
71 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h755cm4" }
72]
diff --git a/examples/stm32h755cm7/Cargo.toml b/examples/stm32h755cm7/Cargo.toml
index b09095ea1..48783fc7a 100644
--- a/examples/stm32h755cm7/Cargo.toml
+++ b/examples/stm32h755cm7/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h755cm7-examples" 3name = "embassy-stm32h755cm7-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h743bi to your chip name, if necessary. 9# Change stm32h743bi to your chip name, if necessary.
@@ -62,3 +63,8 @@ incremental = false
62lto = 'fat' 63lto = 'fat'
63opt-level = 3 # <- 64opt-level = 3 # <-
64overflow-checks = false # <- 65overflow-checks = false # <-
66
67[package.metadata.embassy]
68build = [
69 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h755cm7" }
70]
diff --git a/examples/stm32h7b0/Cargo.toml b/examples/stm32h7b0/Cargo.toml
index dc876159a..c0d047bd4 100644
--- a/examples/stm32h7b0/Cargo.toml
+++ b/examples/stm32h7b0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h7b0-examples" 3name = "embassy-stm32h7b0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = ["defmt", "stm32h7b0vb", "time-driver-tim2", "exti", "memory-x", "unstable-pac", "chrono"] } 9embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = ["defmt", "stm32h7b0vb", "time-driver-tim2", "exti", "memory-x", "unstable-pac", "chrono"] }
@@ -71,3 +72,8 @@ incremental = false
71lto = 'fat' 72lto = 'fat'
72opt-level = 3 # <- 73opt-level = 3 # <-
73overflow-checks = false # <- 74overflow-checks = false # <-
75
76[package.metadata.embassy]
77build = [
78 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h7b0" }
79]
diff --git a/examples/stm32h7rs/Cargo.toml b/examples/stm32h7rs/Cargo.toml
index 4068fa5df..dcd5b078d 100644
--- a/examples/stm32h7rs/Cargo.toml
+++ b/examples/stm32h7rs/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32h7rs-examples" 3name = "embassy-stm32h7rs-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32h743bi to your chip name, if necessary. 9# Change stm32h743bi to your chip name, if necessary.
@@ -70,3 +71,8 @@ incremental = false
70lto = 'fat' 71lto = 'fat'
71opt-level = 3 # <- 72opt-level = 3 # <-
72overflow-checks = false # <- 73overflow-checks = false # <-
74
75[package.metadata.embassy]
76build = [
77 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32h7rs" }
78]
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml
index b76f6765f..47ccedeb0 100644
--- a/examples/stm32l0/Cargo.toml
+++ b/examples/stm32l0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32l0-examples" 3name = "embassy-stm32l0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32l072cz to your chip name, if necessary. 9# Change stm32l072cz to your chip name, if necessary.
@@ -28,3 +29,8 @@ portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] }
28 29
29[profile.release] 30[profile.release]
30debug = 2 31debug = 2
32
33[package.metadata.embassy]
34build = [
35 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/stm32l0" }
36]
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml
index 442a5c795..659524cb3 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32l1-examples" 3name = "embassy-stm32l1-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["defmt"] } 9embassy-sync = { version = "0.7.1", path = "../../embassy-sync", features = ["defmt"] }
@@ -24,3 +25,8 @@ embedded-storage = "0.3.1"
24 25
25[profile.release] 26[profile.release]
26debug = 2 27debug = 2
28
29[package.metadata.embassy]
30build = [
31 { target = "thumbv7m-none-eabi", artifact-dir = "out/examples/stm32l1" }
32]
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml
index bbe592212..02fd4ce93 100644
--- a/examples/stm32l4/Cargo.toml
+++ b/examples/stm32l4/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32l4-examples" 3name = "embassy-stm32l4-examples"
4version = "0.1.1" 4version = "0.1.1"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32l4s5vi to your chip name, if necessary. 9# Change stm32l4s5vi to your chip name, if necessary.
@@ -36,3 +37,8 @@ micromath = "2.0.0"
36 37
37[profile.release] 38[profile.release]
38debug = 2 39debug = 2
40
41[package.metadata.embassy]
42build = [
43 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32l4" }
44]
diff --git a/examples/stm32l432/Cargo.toml b/examples/stm32l432/Cargo.toml
index 483403b1d..14db1fb2f 100644
--- a/examples/stm32l432/Cargo.toml
+++ b/examples/stm32l432/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32l4-examples" 3name = "embassy-stm32l4-examples"
4version = "0.1.1" 4version = "0.1.1"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32l4s5vi to your chip name, if necessary. 9# Change stm32l4s5vi to your chip name, if necessary.
@@ -28,3 +29,8 @@ debug = 2
28name = "qspi_mmap" 29name = "qspi_mmap"
29path = "src/bin/qspi_mmap.rs" 30path = "src/bin/qspi_mmap.rs"
30test = false 31test = false
32
33[package.metadata.embassy]
34build = [
35 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32l432" }
36]
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml
index 1739f0889..42b46ee0f 100644
--- a/examples/stm32l5/Cargo.toml
+++ b/examples/stm32l5/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32l5-examples" 3name = "embassy-stm32l5-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32l552ze to your chip name, if necessary. 9# Change stm32l552ze to your chip name, if necessary.
@@ -32,3 +33,8 @@ debug = 2
32[[bin]] 33[[bin]]
33name = "stop" 34name = "stop"
34default-features = ["embassy-stm32/low-power"] 35default-features = ["embassy-stm32/low-power"]
36
37[package.metadata.embassy]
38build = [
39 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/stm32l5" }
40]
diff --git a/examples/stm32u0/Cargo.toml b/examples/stm32u0/Cargo.toml
index 1362aa422..09e5eb20c 100644
--- a/examples/stm32u0/Cargo.toml
+++ b/examples/stm32u0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32u0-examples" 3name = "embassy-stm32u0-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32u083rc to your chip name, if necessary. 9# Change stm32u083rc to your chip name, if necessary.
@@ -27,3 +28,8 @@ chrono = { version = "0.4.38", default-features = false }
27 28
28[profile.release] 29[profile.release]
29debug = 2 30debug = 2
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv6m-none-eabi", artifact-dir = "out/examples/stm32u0" }
35]
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml
index 53f4ee618..8b5d52aa4 100644
--- a/examples/stm32u5/Cargo.toml
+++ b/examples/stm32u5/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32u5-examples" 3name = "embassy-stm32u5-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32u5g9zj to your chip name, if necessary. 9# Change stm32u5g9zj to your chip name, if necessary.
@@ -32,3 +33,8 @@ trustzone-secure = ["embassy-stm32/trustzone-secure"]
32 33
33[profile.release] 34[profile.release]
34debug = 2 35debug = 2
36
37[package.metadata.embassy]
38build = [
39 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/stm32u5" }
40]
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml
index 1b2fb9cbd..14e6dfa15 100644
--- a/examples/stm32wb/Cargo.toml
+++ b/examples/stm32wb/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32wb-examples" 3name = "embassy-stm32wb-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32wb55rg to your chip name in both dependencies, if necessary. 9# Change stm32wb55rg to your chip name in both dependencies, if necessary.
@@ -54,3 +55,8 @@ required-features = ["ble"]
54 55
55[profile.release] 56[profile.release]
56debug = 2 57debug = 2
58
59[package.metadata.embassy]
60build = [
61 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32wb" }
62]
diff --git a/examples/stm32wba/Cargo.toml b/examples/stm32wba/Cargo.toml
index a6ea433cf..9c11528cd 100644
--- a/examples/stm32wba/Cargo.toml
+++ b/examples/stm32wba/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32wba-examples" 3name = "embassy-stm32wba-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba55cg", "time-driver-any", "memory-x", "exti"] } 9embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba55cg", "time-driver-any", "memory-x", "exti"] }
@@ -23,3 +24,8 @@ static_cell = "2"
23 24
24[profile.release] 25[profile.release]
25debug = 2 26debug = 2
27
28[package.metadata.embassy]
29build = [
30 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/stm32wba" }
31]
diff --git a/examples/stm32wba6/Cargo.toml b/examples/stm32wba6/Cargo.toml
index 980091eaf..f1f9cf88b 100644
--- a/examples/stm32wba6/Cargo.toml
+++ b/examples/stm32wba6/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32wba-examples" 3name = "embassy-stm32wba-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba65ri", "time-driver-any", "memory-x", "exti"] } 9embassy-stm32 = { version = "0.3.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba65ri", "time-driver-any", "memory-x", "exti"] }
@@ -24,3 +25,8 @@ static_cell = "2"
24 25
25[profile.release] 26[profile.release]
26debug = 2 27debug = 2
28
29[package.metadata.embassy]
30build = [
31 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/stm32wba6" }
32]
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml
index 31729565d..a75e4ed30 100644
--- a/examples/stm32wl/Cargo.toml
+++ b/examples/stm32wl/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-stm32wl-examples" 3name = "embassy-stm32wl-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8# Change stm32wl55jc-cm4 to your chip name, if necessary. 9# Change stm32wl55jc-cm4 to your chip name, if necessary.
@@ -25,3 +26,8 @@ chrono = { version = "^0.4", default-features = false }
25 26
26[profile.release] 27[profile.release]
27debug = 2 28debug = 2
29
30[package.metadata.embassy]
31build = [
32 { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32wl" }
33]
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml
index af139fdbd..28b4f1c30 100644
--- a/examples/wasm/Cargo.toml
+++ b/examples/wasm/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-wasm-example" 3name = "embassy-wasm-example"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[lib] 8[lib]
8crate-type = ["cdylib"] 9crate-type = ["cdylib"]
@@ -19,3 +20,8 @@ log = "0.4.11"
19 20
20[profile.release] 21[profile.release]
21debug = 2 22debug = 2
23
24[package.metadata.embassy]
25build = [
26 { target = "wasm32-unknown-unknown", artifact-dir = "out/examples/wasm" }
27]
diff --git a/release/config.toml b/release/config.toml
deleted file mode 100644
index 2292f4077..000000000
--- a/release/config.toml
+++ /dev/null
@@ -1 +0,0 @@
1embassy-rp = { features = ["defmt", "unstable-pac", "time-driver", "rp2040"], target = "thumbv6m-none-eabi" }
diff --git a/cyw43-pio/release.toml b/release/release.toml
index fb6feaf21..fb6feaf21 100644
--- a/cyw43-pio/release.toml
+++ b/release/release.toml
diff --git a/tests/mspm0/Cargo.toml b/tests/mspm0/Cargo.toml
index e4033b8b7..5cf1b0ed1 100644
--- a/tests/mspm0/Cargo.toml
+++ b/tests/mspm0/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-mspm0-tests" 3name = "embassy-mspm0-tests"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[features] 8[features]
8mspm0g3507 = [ "embassy-mspm0/mspm0g3507pm" ] 9mspm0g3507 = [ "embassy-mspm0/mspm0g3507pm" ]
@@ -60,3 +61,8 @@ debug = false
60debug-assertions = false 61debug-assertions = false
61opt-level = 0 62opt-level = 0
62overflow-checks = false 63overflow-checks = false
64
65[package.metadata.embassy]
66build = [
67 { target = "thumbv6m-none-eabi", features = ["mspm0g3507"], artifact-dir = "out/tests/mspm0g3507" }
68]
diff --git a/tests/nrf/Cargo.toml b/tests/nrf/Cargo.toml
index ef7dc96ec..b94b54f4e 100644
--- a/tests/nrf/Cargo.toml
+++ b/tests/nrf/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-nrf-examples" 3name = "embassy-nrf-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8teleprobe-meta = "1" 9teleprobe-meta = "1"
@@ -112,3 +113,13 @@ path = "src/bin/wifi_esp_hosted_perf.rs"
112required-features = [ "nrf52840",] 113required-features = [ "nrf52840",]
113 114
114# END TESTS 115# END TESTS
116
117[package.metadata.embassy]
118build = [
119 { target = "thumbv6m-none-eabi", features = ["nrf51422"], artifact-dir = "out/tests/nrf51422-dk" },
120 { target = "thumbv7em-none-eabi", features = ["nrf52832"], artifact-dir = "out/tests/nrf52832-dk" },
121 { target = "thumbv7em-none-eabi", features = ["nrf52833"], artifact-dir = "out/tests/nrf52833-dk" },
122 { target = "thumbv7em-none-eabi", features = ["nrf52840"], artifact-dir = "out/tests/nrf52840-dk" },
123 { target = "thumbv8m.main-none-eabihf", features = ["nrf5340"], artifact-dir = "out/tests/nrf5340-dk" },
124 { target = "thumbv8m.main-none-eabihf", features = ["nrf9160"], artifact-dir = "out/tests/nrf9160-dk" }
125]
diff --git a/tests/perf-client/Cargo.toml b/tests/perf-client/Cargo.toml
index e31d6361b..ea0663b6f 100644
--- a/tests/perf-client/Cargo.toml
+++ b/tests/perf-client/Cargo.toml
@@ -2,6 +2,7 @@
2name = "perf-client" 2name = "perf-client"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5publish = false
5 6
6[dependencies] 7[dependencies]
7embassy-net = { version = "0.7.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4"] } 8embassy-net = { version = "0.7.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4"] }
diff --git a/tests/perf-server/Cargo.toml b/tests/perf-server/Cargo.toml
index 532039050..22614a33a 100644
--- a/tests/perf-server/Cargo.toml
+++ b/tests/perf-server/Cargo.toml
@@ -2,6 +2,7 @@
2name = "perf-server" 2name = "perf-server"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5publish = false
5 6
6[dependencies] 7[dependencies]
7log = "0.4.17" 8log = "0.4.17"
diff --git a/tests/riscv32/Cargo.toml b/tests/riscv32/Cargo.toml
index 283ea5033..781fec62f 100644
--- a/tests/riscv32/Cargo.toml
+++ b/tests/riscv32/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-riscv-tests" 3name = "embassy-riscv-tests"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[dependencies] 8[dependencies]
8critical-section = { version = "1.1.1", features = ["restore-state-bool"] } 9critical-section = { version = "1.1.1", features = ["restore-state-bool"] }
@@ -44,3 +45,8 @@ debug = false
44debug-assertions = false 45debug-assertions = false
45opt-level = 0 46opt-level = 0
46overflow-checks = false 47overflow-checks = false
48
49[package.metadata.embassy]
50build = [
51 { target = "riscv32imac-unknown-none-elf" }
52]
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml
index eef6c47ae..088195a75 100644
--- a/tests/rp/Cargo.toml
+++ b/tests/rp/Cargo.toml
@@ -3,6 +3,7 @@ edition = "2021"
3name = "embassy-rp-tests" 3name = "embassy-rp-tests"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6publish = false
6 7
7[features] 8[features]
8rp2040 = ["embassy-rp/rp2040"] 9rp2040 = ["embassy-rp/rp2040"]
@@ -92,3 +93,9 @@ debug = false
92debug-assertions = false 93debug-assertions = false
93opt-level = 0 94opt-level = 0
94overflow-checks = false 95overflow-checks = false
96
97[package.metadata.embassy]
98build = [
99 { target = "thumbv6m-none-eabi", features = ["rp2040"], artifact-dir = "out/tests/rpi-pico" },
100 { target = "thumbv8m.main-none-eabihf", features = ["rp235xb"], artifact-dir = "out/tests/pimoroni-pico-plus-2" }
101]
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml
index c011a6d7d..37d5161f8 100644
--- a/tests/stm32/Cargo.toml
+++ b/tests/stm32/Cargo.toml
@@ -4,6 +4,7 @@ name = "embassy-stm32-tests"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6autobins = false 6autobins = false
7publish = false
7 8
8[features] 9[features]
9stm32c031c6 = ["embassy-stm32/stm32c031c6", "cm0", "not-gpdma"] 10stm32c031c6 = ["embassy-stm32/stm32c031c6", "cm0", "not-gpdma"]
@@ -243,3 +244,36 @@ debug = false
243debug-assertions = false 244debug-assertions = false
244opt-level = 0 245opt-level = 0
245overflow-checks = false 246overflow-checks = false
247
248[package.metadata.embassy]
249build = [
250 { target = "thumbv7m-none-eabi", features = ["stm32f103c8"], artifact-dir = "out/tests/stm32f103c8" },
251 { target = "thumbv7em-none-eabi", features = ["stm32f429zi"], artifact-dir = "out/tests/stm32f429zi" },
252 { target = "thumbv7em-none-eabi", features = ["stm32f446re"], artifact-dir = "out/tests/stm32f446re" },
253 { target = "thumbv7em-none-eabi", features = ["stm32g491re"], artifact-dir = "out/tests/stm32g491re" },
254 { target = "thumbv6m-none-eabi", features = ["stm32g071rb"], artifact-dir = "out/tests/stm32g071rb" },
255 { target = "thumbv6m-none-eabi", features = ["stm32c031c6"], artifact-dir = "out/tests/stm32c031c6" },
256 { target = "thumbv6m-none-eabi", features = ["stm32c071rb"], artifact-dir = "out/tests/stm32c071rb" },
257 { target = "thumbv7em-none-eabi", features = ["stm32h755zi"], artifact-dir = "out/tests/stm32h755zi" },
258 { target = "thumbv7em-none-eabi", features = ["stm32h753zi"], artifact-dir = "out/tests/stm32h753zi" },
259 { target = "thumbv7em-none-eabi", features = ["stm32h7a3zi"], artifact-dir = "out/tests/stm32h7a3zi" },
260 { target = "thumbv7em-none-eabi", features = ["stm32wb55rg"], artifact-dir = "out/tests/stm32wb55rg" },
261 { target = "thumbv8m.main-none-eabihf", features = ["stm32h563zi"], artifact-dir = "out/tests/stm32h563zi" },
262 { target = "thumbv8m.main-none-eabihf", features = ["stm32u585ai"], artifact-dir = "out/tests/stm32u585ai" },
263 { target = "thumbv8m.main-none-eabihf", features = ["stm32u5a5zj"], artifact-dir = "out/tests/stm32u5a5zj" },
264 { target = "thumbv8m.main-none-eabihf", features = ["stm32wba52cg"], artifact-dir = "out/tests/stm32wba52cg" },
265 { target = "thumbv6m-none-eabi", features = ["stm32l073rz"], artifact-dir = "out/tests/stm32l073rz" },
266 { target = "thumbv7m-none-eabi", features = ["stm32l152re"], artifact-dir = "out/tests/stm32l152re" },
267 { target = "thumbv7em-none-eabi", features = ["stm32l4a6zg"], artifact-dir = "out/tests/stm32l4a6zg" },
268 { target = "thumbv7em-none-eabi", features = ["stm32l4r5zi"], artifact-dir = "out/tests/stm32l4r5zi" },
269 { target = "thumbv8m.main-none-eabihf", features = ["stm32l552ze"], artifact-dir = "out/tests/stm32l552ze" },
270 { target = "thumbv7em-none-eabi", features = ["stm32f767zi"], artifact-dir = "out/tests/stm32f767zi" },
271 { target = "thumbv7m-none-eabi", features = ["stm32f207zg"], artifact-dir = "out/tests/stm32f207zg" },
272 { target = "thumbv7em-none-eabi", features = ["stm32f303ze"], artifact-dir = "out/tests/stm32f303ze" },
273 { target = "thumbv7em-none-eabi", features = ["stm32l496zg"], artifact-dir = "out/tests/stm32l496zg" },
274 { target = "thumbv7em-none-eabi", features = ["stm32wl55jc"], artifact-dir = "out/tests/stm32wl55jc" },
275 { target = "thumbv7em-none-eabi", features = ["stm32h7s3l8"], artifact-dir = "out/tests/stm32h7s3l8" },
276 { target = "thumbv6m-none-eabi", features = ["stm32f091rc"], artifact-dir = "out/tests/stm32f091rc" },
277 { target = "thumbv8m.main-none-eabihf", features = ["stm32h503rb"], artifact-dir = "out/tests/stm32h503rb" },
278 { target = "thumbv6m-none-eabi", features = ["stm32u083rc"], artifact-dir = "out/tests/stm32u083rc" }
279]
diff --git a/tests/utils/Cargo.toml b/tests/utils/Cargo.toml
index bda55ad32..f76feaa20 100644
--- a/tests/utils/Cargo.toml
+++ b/tests/utils/Cargo.toml
@@ -2,6 +2,7 @@
2name = "test-utils" 2name = "test-utils"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5publish = false
5 6
6[dependencies] 7[dependencies]
7rand = "0.9" 8rand = "0.9"
diff --git a/tests/utils/src/bin/saturate_serial.rs b/tests/utils/src/bin/saturate_serial.rs
index 18ca12fb7..85676b106 100644
--- a/tests/utils/src/bin/saturate_serial.rs
+++ b/tests/utils/src/bin/saturate_serial.rs
@@ -2,7 +2,7 @@ use std::path::Path;
2use std::time::Duration; 2use std::time::Duration;
3use std::{env, io, process, thread}; 3use std::{env, io, process, thread};
4 4
5use rand::random; 5use rand::{rng, Rng};
6use serial::SerialPort; 6use serial::SerialPort;
7 7
8pub fn main() { 8pub fn main() {
@@ -34,14 +34,15 @@ fn saturate<T: SerialPort>(port: &mut T, idles: bool) -> io::Result<()> {
34 })?; 34 })?;
35 35
36 let mut written = 0; 36 let mut written = 0;
37 let mut rng = rng();
37 loop { 38 loop {
38 let len = random::<usize>() % 0x1000; 39 let len = rng.random_range(1..=0x1000);
39 let buf: Vec<u8> = (written..written + len).map(|x| x as u8).collect(); 40 let buf: Vec<u8> = (written..written + len).map(|x| x as u8).collect();
40 41
41 port.write_all(&buf)?; 42 port.write_all(&buf)?;
42 43
43 if idles { 44 if idles {
44 let micros = (random::<usize>() % 1000) as u64; 45 let micros = rng.random_range(1..=1000) as u64;
45 println!("Sleeping {}us", micros); 46 println!("Sleeping {}us", micros);
46 port.flush().unwrap(); 47 port.flush().unwrap();
47 thread::sleep(Duration::from_micros(micros)); 48 thread::sleep(Duration::from_micros(micros));