aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot-stm32/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-boot-stm32/Cargo.toml')
-rw-r--r--embassy-boot-stm32/Cargo.toml70
1 files changed, 70 insertions, 0 deletions
diff --git a/embassy-boot-stm32/Cargo.toml b/embassy-boot-stm32/Cargo.toml
new file mode 100644
index 000000000..f4e31bae8
--- /dev/null
+++ b/embassy-boot-stm32/Cargo.toml
@@ -0,0 +1,70 @@
1[package]
2edition = "2021"
3name = "embassy-boot-stm32"
4version = "0.1.0"
5description = "Bootloader lib for STM32 chips"
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/embassy-rs/embassy"
8categories = [
9 "embedded",
10 "no-std",
11 "asynchronous",
12]
13
14[package.metadata.embassy_docs]
15src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot-stm32/src/"
16src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-stm32/src/"
17features = ["embassy-stm32/stm32f429zi"]
18target = "thumbv7em-none-eabi"
19
20[lib]
21
22[dependencies]
23defmt = { version = "0.3", optional = true }
24defmt-rtt = { version = "0.4", optional = true }
25log = { version = "0.4", optional = true }
26
27embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
28embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false }
29embassy-boot = { version = "0.1.0", path = "../embassy-boot" }
30cortex-m = { version = "0.7.6" }
31cortex-m-rt = { version = "0.7" }
32embedded-storage = "0.3.1"
33embedded-storage-async = { version = "0.4.1" }
34cfg-if = "1.0.0"
35
36[features]
37defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-stm32/defmt"]
38log = ["dep:log", "embassy-boot/log", "embassy-stm32/log"]
39debug = ["defmt-rtt"]
40
41[profile.dev]
42debug = 2
43debug-assertions = true
44incremental = false
45opt-level = 'z'
46overflow-checks = true
47
48[profile.release]
49codegen-units = 1
50debug = 2
51debug-assertions = false
52incremental = false
53lto = 'fat'
54opt-level = 'z'
55overflow-checks = false
56
57# do not optimize proc-macro crates = faster builds from scratch
58[profile.dev.build-override]
59codegen-units = 8
60debug = false
61debug-assertions = false
62opt-level = 0
63overflow-checks = false
64
65[profile.release.build-override]
66codegen-units = 8
67debug = false
68debug-assertions = false
69opt-level = 0
70overflow-checks = false