diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-08-15 19:01:56 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2025-08-25 19:44:50 +0200 |
| commit | 3a6ea3a31c90179fb3cbd30c18e3a310e2ee647c (patch) | |
| tree | 9dcbd98e58bd2a0569b4f30562b51c4e677ea5b9 /examples/boot | |
| parent | a34e0b1ec57350cfa1d61aa6fc2eced077be5623 (diff) | |
Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests.
Diffstat (limited to 'examples/boot')
| -rw-r--r-- | examples/boot/application/nrf/Cargo.toml | 10 | ||||
| -rw-r--r-- | examples/boot/application/rp/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32f3/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32f7/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32h7/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32l0/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32l1/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32l4/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32wb-dfu/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32wba-dfu/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/application/stm32wl/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/bootloader/nrf/Cargo.toml | 10 | ||||
| -rw-r--r-- | examples/boot/bootloader/rp/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32-dual-bank/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32wb-dfu/Cargo.toml | 7 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32wba-dfu/Cargo.toml | 6 |
17 files changed, 111 insertions, 0 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" | |||
| 3 | name = "embassy-boot-nrf-examples" | 3 | name = "embassy-boot-nrf-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-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] | ||
| 38 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-rp-examples" | 3 | name = "embassy-boot-rp-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -34,3 +35,8 @@ skip-include = [] | |||
| 34 | 35 | ||
| 35 | [profile.release] | 36 | [profile.release] |
| 36 | debug = true | 37 | debug = true |
| 38 | |||
| 39 | [package.metadata.embassy] | ||
| 40 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32f3-examples" | 3 | name = "embassy-boot-stm32f3-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -29,3 +30,8 @@ defmt = [ | |||
| 29 | "embassy-sync/defmt", | 30 | "embassy-sync/defmt", |
| 30 | ] | 31 | ] |
| 31 | skip-include = [] | 32 | skip-include = [] |
| 33 | |||
| 34 | [package.metadata.embassy] | ||
| 35 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32f7-examples" | 3 | name = "embassy-boot-stm32f7-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -30,3 +31,8 @@ defmt = [ | |||
| 30 | "embassy-sync/defmt", | 31 | "embassy-sync/defmt", |
| 31 | ] | 32 | ] |
| 32 | skip-include = [] | 33 | skip-include = [] |
| 34 | |||
| 35 | [package.metadata.embassy] | ||
| 36 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32h7-examples" | 3 | name = "embassy-boot-stm32h7-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -30,3 +31,8 @@ defmt = [ | |||
| 30 | "embassy-sync/defmt", | 31 | "embassy-sync/defmt", |
| 31 | ] | 32 | ] |
| 32 | skip-include = [] | 33 | skip-include = [] |
| 34 | |||
| 35 | [package.metadata.embassy] | ||
| 36 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32l0-examples" | 3 | name = "embassy-boot-stm32l0-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -29,3 +30,8 @@ defmt = [ | |||
| 29 | "embassy-sync/defmt", | 30 | "embassy-sync/defmt", |
| 30 | ] | 31 | ] |
| 31 | skip-include = [] | 32 | skip-include = [] |
| 33 | |||
| 34 | [package.metadata.embassy] | ||
| 35 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32l1-examples" | 3 | name = "embassy-boot-stm32l1-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -29,3 +30,8 @@ defmt = [ | |||
| 29 | "embassy-sync/defmt", | 30 | "embassy-sync/defmt", |
| 30 | ] | 31 | ] |
| 31 | skip-include = [] | 32 | skip-include = [] |
| 33 | |||
| 34 | [package.metadata.embassy] | ||
| 35 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32l4-examples" | 3 | name = "embassy-boot-stm32l4-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -29,3 +30,8 @@ defmt = [ | |||
| 29 | "embassy-sync/defmt", | 30 | "embassy-sync/defmt", |
| 30 | ] | 31 | ] |
| 31 | skip-include = [] | 32 | skip-include = [] |
| 33 | |||
| 34 | [package.metadata.embassy] | ||
| 35 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32wb-dfu-examples" | 3 | name = "embassy-boot-stm32wb-dfu-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-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] | ||
| 36 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32wba-dfu-examples" | 3 | name = "embassy-boot-stm32wba-dfu-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-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] | ||
| 36 | build = [ | ||
| 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" | |||
| 3 | name = "embassy-boot-stm32wl-examples" | 3 | name = "embassy-boot-stm32wl-examples" |
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | publish = false | ||
| 6 | 7 | ||
| 7 | [dependencies] | 8 | [dependencies] |
| 8 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } | 9 | embassy-sync = { version = "0.7.1", path = "../../../../embassy-sync" } |
| @@ -29,3 +30,8 @@ defmt = [ | |||
| 29 | "embassy-sync/defmt", | 30 | "embassy-sync/defmt", |
| 30 | ] | 31 | ] |
| 31 | skip-include = [] | 32 | skip-include = [] |
| 33 | |||
| 34 | [package.metadata.embassy] | ||
| 35 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Bootloader for nRF chips" | 5 | description = "Bootloader for nRF chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -57,3 +58,12 @@ debug = false | |||
| 57 | debug-assertions = false | 58 | debug-assertions = false |
| 58 | opt-level = 0 | 59 | opt-level = 0 |
| 59 | overflow-checks = false | 60 | overflow-checks = false |
| 61 | |||
| 62 | [package.metadata.embassy] | ||
| 63 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Example bootloader for RP2040 chips" | 5 | description = "Example bootloader for RP2040 chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -31,3 +32,8 @@ defmt = [ | |||
| 31 | [profile.release] | 32 | [profile.release] |
| 32 | debug = true | 33 | debug = true |
| 33 | opt-level = 's' | 34 | opt-level = 's' |
| 35 | |||
| 36 | [package.metadata.embassy] | ||
| 37 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Example bootloader for dual-bank flash STM32 chips" | 5 | description = "Example bootloader for dual-bank flash STM32 chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -54,3 +55,8 @@ debug = false | |||
| 54 | debug-assertions = false | 55 | debug-assertions = false |
| 55 | opt-level = 0 | 56 | opt-level = 0 |
| 56 | overflow-checks = false | 57 | overflow-checks = false |
| 58 | |||
| 59 | [package.metadata.embassy] | ||
| 60 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Example bootloader for STM32 chips" | 5 | description = "Example bootloader for STM32 chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -56,3 +57,8 @@ debug = false | |||
| 56 | debug-assertions = false | 57 | debug-assertions = false |
| 57 | opt-level = 0 | 58 | opt-level = 0 |
| 58 | overflow-checks = false | 59 | overflow-checks = false |
| 60 | |||
| 61 | [package.metadata.embassy] | ||
| 62 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Example USB DFUbootloader for the STM32WB series of chips" | 5 | description = "Example USB DFUbootloader for the STM32WB series of chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -62,3 +63,9 @@ debug = false | |||
| 62 | debug-assertions = false | 63 | debug-assertions = false |
| 63 | opt-level = 0 | 64 | opt-level = 0 |
| 64 | overflow-checks = false | 65 | overflow-checks = false |
| 66 | |||
| 67 | [package.metadata.embassy] | ||
| 68 | build = [ | ||
| 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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | description = "Example USB DFUbootloader for the STM32WBA series of chips" | 5 | description = "Example USB DFUbootloader for the STM32WBA series of chips" |
| 6 | license = "MIT OR Apache-2.0" | 6 | license = "MIT OR Apache-2.0" |
| 7 | publish = false | ||
| 7 | 8 | ||
| 8 | [dependencies] | 9 | [dependencies] |
| 9 | defmt = { version = "1.0.1", optional = true } | 10 | defmt = { version = "1.0.1", optional = true } |
| @@ -62,3 +63,8 @@ debug = false | |||
| 62 | debug-assertions = false | 63 | debug-assertions = false |
| 63 | opt-level = 0 | 64 | opt-level = 0 |
| 64 | overflow-checks = false | 65 | overflow-checks = false |
| 66 | |||
| 67 | [package.metadata.embassy] | ||
| 68 | build = [ | ||
| 69 | { target = "thumbv8m.main-none-eabihf", features = ["embassy-stm32/stm32wba65ri", "verify"] } | ||
| 70 | ] | ||
