aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authormaor1993 <[email protected]>2025-08-29 01:11:56 +0300
committerGitHub <[email protected]>2025-08-29 01:11:56 +0300
commita79a566f1e817260309b1c9bc864b80b12c8130b (patch)
tree2e87e874a6c51a68354f8a376c7b026f67c162c3 /docs/examples
parent6b8d375813116fba0e04aa28e23ded8ab077729a (diff)
parentd3c84ee1d34329e61464c9acbedab74e9076ac0d (diff)
Merge branch 'embassy-rs:main' into main
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/basic/Cargo.toml12
-rw-r--r--docs/examples/layer-by-layer/blinky-async/Cargo.toml10
-rw-r--r--docs/examples/layer-by-layer/blinky-hal/Cargo.toml8
-rw-r--r--docs/examples/layer-by-layer/blinky-irq/Cargo.toml8
-rw-r--r--docs/examples/layer-by-layer/blinky-pac/Cargo.toml6
5 files changed, 37 insertions, 7 deletions
diff --git a/docs/examples/basic/Cargo.toml b/docs/examples/basic/Cargo.toml
index 15fd42703..b6dbeda2a 100644
--- a/docs/examples/basic/Cargo.toml
+++ b/docs/examples/basic/Cargo.toml
@@ -5,10 +5,11 @@ 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.9.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.5.0", path = "../../../embassy-time", features = ["defmt"] }
11embassy-nrf = { version = "0.6.0", path = "../../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] } 12embassy-nrf = { version = "0.7.0", path = "../../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] }
12 13
13defmt = "1.0.1" 14defmt = "1.0.1"
14defmt-rtt = "1.0.0" 15defmt-rtt = "1.0.0"
@@ -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..ec718022c 100644
--- a/docs/examples/layer-by-layer/blinky-async/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-async/Cargo.toml
@@ -4,12 +4,18 @@ 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"
10embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "exti"] } 11embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "exti"] }
11embassy-executor = { version = "0.8.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread"] } 12embassy-executor = { version = "0.9.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread"] }
12 13
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..4a0b03a83 100644
--- a/docs/examples/layer-by-layer/blinky-hal/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-hal/Cargo.toml
@@ -4,11 +4,17 @@ 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"] }
10embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x"] } 11embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x"] }
11 12
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..3c4bf8446 100644
--- a/docs/examples/layer-by-layer/blinky-irq/Cargo.toml
+++ b/docs/examples/layer-by-layer/blinky-irq/Cargo.toml
@@ -6,11 +6,17 @@ 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" }
12embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "unstable-pac"] } 13embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "unstable-pac"] }
13 14
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]