aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/application/stm32l1/Cargo.toml
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-06-24 19:56:15 +0200
committerUlf Lilleengen <[email protected]>2022-06-24 19:56:15 +0200
commit776be79f7bb10b09e795e2ea93bb795a653c9b4c (patch)
tree269046d330ee503c84049bb8fc47baf0297ecb80 /examples/boot/application/stm32l1/Cargo.toml
parent84628d36cf743193cbf0e7d47ef1cfa9fb590890 (diff)
Move bootloader main to examples
This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead.
Diffstat (limited to 'examples/boot/application/stm32l1/Cargo.toml')
-rw-r--r--examples/boot/application/stm32l1/Cargo.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/boot/application/stm32l1/Cargo.toml b/examples/boot/application/stm32l1/Cargo.toml
new file mode 100644
index 000000000..3fd6f639a
--- /dev/null
+++ b/examples/boot/application/stm32l1/Cargo.toml
@@ -0,0 +1,25 @@
1[package]
2edition = "2021"
3name = "embassy-boot-stm32l1-examples"
4version = "0.1.0"
5
6[dependencies]
7embassy = { version = "0.1.0", path = "../../../../embassy", features = ["nightly", "time-tick-32768hz"] }
8embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l151cb-a", "time-driver-any", "exti"] }
9embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" }
10embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" }
11
12defmt = { version = "0.3", optional = true }
13defmt-rtt = { version = "0.3", optional = true }
14panic-reset = { version = "0.1.1" }
15embedded-hal = { version = "0.2.6" }
16
17cortex-m = "0.7.3"
18cortex-m-rt = "0.7.0"
19
20[features]
21defmt = [
22 "dep:defmt",
23 "embassy-stm32/defmt",
24 "embassy-boot-stm32/defmt",
25]