diff options
| author | maor1993 <[email protected]> | 2025-08-29 01:11:56 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-29 01:11:56 +0300 |
| commit | a79a566f1e817260309b1c9bc864b80b12c8130b (patch) | |
| tree | 2e87e874a6c51a68354f8a376c7b026f67c162c3 /docs/examples | |
| parent | 6b8d375813116fba0e04aa28e23ded8ab077729a (diff) | |
| parent | d3c84ee1d34329e61464c9acbedab74e9076ac0d (diff) | |
Merge branch 'embassy-rs:main' into main
Diffstat (limited to 'docs/examples')
| -rw-r--r-- | docs/examples/basic/Cargo.toml | 12 | ||||
| -rw-r--r-- | docs/examples/layer-by-layer/blinky-async/Cargo.toml | 10 | ||||
| -rw-r--r-- | docs/examples/layer-by-layer/blinky-hal/Cargo.toml | 8 | ||||
| -rw-r--r-- | docs/examples/layer-by-layer/blinky-irq/Cargo.toml | 8 | ||||
| -rw-r--r-- | docs/examples/layer-by-layer/blinky-pac/Cargo.toml | 6 |
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" | |||
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | 7 | ||
| 8 | publish = false | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | embassy-executor = { version = "0.8.0", path = "../../../embassy-executor", features = ["defmt", "arch-cortex-m", "executor-thread"] } | 10 | embassy-executor = { version = "0.9.0", path = "../../../embassy-executor", features = ["defmt", "arch-cortex-m", "executor-thread"] } |
| 10 | embassy-time = { version = "0.4.0", path = "../../../embassy-time", features = ["defmt"] } | 11 | embassy-time = { version = "0.5.0", path = "../../../embassy-time", features = ["defmt"] } |
| 11 | embassy-nrf = { version = "0.6.0", path = "../../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] } | 12 | embassy-nrf = { version = "0.7.0", path = "../../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] } |
| 12 | 13 | ||
| 13 | defmt = "1.0.1" | 14 | defmt = "1.0.1" |
| 14 | defmt-rtt = "1.0.0" | 15 | defmt-rtt = "1.0.0" |
| @@ -16,3 +17,8 @@ defmt-rtt = "1.0.0" | |||
| 16 | cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } | 17 | cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } |
| 17 | cortex-m-rt = "0.7.0" | 18 | cortex-m-rt = "0.7.0" |
| 18 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } | 19 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } |
| 20 | |||
| 21 | [package.metadata.embassy] | ||
| 22 | build = [ | ||
| 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" | |||
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | 6 | ||
| 7 | publish = false | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } | 9 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } |
| 9 | cortex-m-rt = "0.7" | 10 | cortex-m-rt = "0.7" |
| 10 | embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "exti"] } | 11 | embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "exti"] } |
| 11 | embassy-executor = { version = "0.8.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread"] } | 12 | embassy-executor = { version = "0.9.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread"] } |
| 12 | 13 | ||
| 13 | defmt = "1.0.1" | 14 | defmt = "1.0.1" |
| 14 | defmt-rtt = "1.0.0" | 15 | defmt-rtt = "1.0.0" |
| 15 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } | 16 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } |
| 17 | |||
| 18 | [package.metadata.embassy] | ||
| 19 | build = [ | ||
| 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" | |||
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | 6 | ||
| 7 | publish = false | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | cortex-m-rt = "0.7" | 9 | cortex-m-rt = "0.7" |
| 9 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } | 10 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } |
| 10 | embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x"] } | 11 | embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x"] } |
| 11 | 12 | ||
| 12 | defmt = "1.0.1" | 13 | defmt = "1.0.1" |
| 13 | defmt-rtt = "1.0.0" | 14 | defmt-rtt = "1.0.0" |
| 14 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } | 15 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } |
| 16 | |||
| 17 | [package.metadata.embassy] | ||
| 18 | build = [ | ||
| 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" | |||
| 6 | edition = "2021" | 6 | edition = "2021" |
| 7 | license = "MIT OR Apache-2.0" | 7 | license = "MIT OR Apache-2.0" |
| 8 | 8 | ||
| 9 | publish = false | ||
| 9 | [dependencies] | 10 | [dependencies] |
| 10 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } | 11 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } |
| 11 | cortex-m-rt = { version = "0.7" } | 12 | cortex-m-rt = { version = "0.7" } |
| 12 | embassy-stm32 = { version = "0.3.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "unstable-pac"] } | 13 | embassy-stm32 = { version = "0.4.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "memory-x", "unstable-pac"] } |
| 13 | 14 | ||
| 14 | defmt = "1.0.1" | 15 | defmt = "1.0.1" |
| 15 | defmt-rtt = "1.0.0" | 16 | defmt-rtt = "1.0.0" |
| 16 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } | 17 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } |
| 18 | |||
| 19 | [package.metadata.embassy] | ||
| 20 | build = [ | ||
| 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" | |||
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | 6 | ||
| 7 | publish = false | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } | 9 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } |
| 9 | cortex-m-rt = "0.7" | 10 | cortex-m-rt = "0.7" |
| @@ -12,3 +13,8 @@ stm32-metapac = { version = "16", features = ["stm32l475vg"] } | |||
| 12 | defmt = "1.0.1" | 13 | defmt = "1.0.1" |
| 13 | defmt-rtt = "1.0.0" | 14 | defmt-rtt = "1.0.0" |
| 14 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } | 15 | panic-probe = { version = "1.0.0", features = ["print-defmt"] } |
| 16 | |||
| 17 | [package.metadata.embassy] | ||
| 18 | build = [ | ||
| 19 | { target = "thumbv7em-none-eabi" } | ||
| 20 | ] | ||
