diff options
| author | Ulf Lilleengen <[email protected]> | 2022-06-24 19:56:15 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-06-24 19:56:15 +0200 |
| commit | 776be79f7bb10b09e795e2ea93bb795a653c9b4c (patch) | |
| tree | 269046d330ee503c84049bb8fc47baf0297ecb80 /examples/boot/application/stm32l0/Cargo.toml | |
| parent | 84628d36cf743193cbf0e7d47ef1cfa9fb590890 (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/stm32l0/Cargo.toml')
| -rw-r--r-- | examples/boot/application/stm32l0/Cargo.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/boot/application/stm32l0/Cargo.toml b/examples/boot/application/stm32l0/Cargo.toml new file mode 100644 index 000000000..de7bea47b --- /dev/null +++ b/examples/boot/application/stm32l0/Cargo.toml | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | [package] | ||
| 2 | edition = "2021" | ||
| 3 | name = "embassy-boot-stm32l0-examples" | ||
| 4 | version = "0.1.0" | ||
| 5 | |||
| 6 | [dependencies] | ||
| 7 | embassy = { version = "0.1.0", path = "../../../../embassy", features = ["nightly", "time-tick-32768hz"] } | ||
| 8 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] } | ||
| 9 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" } | ||
| 10 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | ||
| 11 | |||
| 12 | defmt = { version = "0.3", optional = true } | ||
| 13 | defmt-rtt = { version = "0.3", optional = true } | ||
| 14 | panic-reset = { version = "0.1.1" } | ||
| 15 | embedded-hal = { version = "0.2.6" } | ||
| 16 | |||
| 17 | cortex-m = "0.7.3" | ||
| 18 | cortex-m-rt = "0.7.0" | ||
| 19 | |||
| 20 | [features] | ||
| 21 | defmt = [ | ||
| 22 | "dep:defmt", | ||
| 23 | "embassy-stm32/defmt", | ||
| 24 | "embassy-boot-stm32/defmt", | ||
| 25 | ] | ||
