aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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
72 files changed, 436 insertions, 2 deletions
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]