aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot
diff options
context:
space:
mode:
authorVincent Stakenburg <[email protected]>2022-06-30 14:45:59 +0200
committerVincent Stakenburg <[email protected]>2022-06-30 14:56:36 +0200
commit0e55bb2a208f7038fe15567166e9655abe5480df (patch)
tree58f1f5c0c5fb87abd78d7a56eb03bf5b84248c8b /embassy-boot
parent7b47bea72cf476639509e1f4c338a9dd0953db4a (diff)
add log feature to embassy-boot-stm32
Diffstat (limited to 'embassy-boot')
-rw-r--r--embassy-boot/stm32/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/embassy-boot/stm32/Cargo.toml b/embassy-boot/stm32/Cargo.toml
index 1b6eeef93..13ae54b31 100644
--- a/embassy-boot/stm32/Cargo.toml
+++ b/embassy-boot/stm32/Cargo.toml
@@ -9,6 +9,7 @@ description = "Bootloader lib for STM32 chips"
9[dependencies] 9[dependencies]
10defmt = { version = "0.3", optional = true } 10defmt = { version = "0.3", optional = true }
11defmt-rtt = { version = "0.3", optional = true } 11defmt-rtt = { version = "0.3", optional = true }
12log = { version = "0.4", optional = true }
12 13
13embassy = { path = "../../embassy", default-features = false } 14embassy = { path = "../../embassy", default-features = false }
14embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] } 15embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] }
@@ -25,6 +26,11 @@ defmt = [
25 "embassy-boot/defmt", 26 "embassy-boot/defmt",
26 "embassy-stm32/defmt", 27 "embassy-stm32/defmt",
27] 28]
29log = [
30 "dep:log",
31 "embassy-boot/log",
32 "embassy-stm32/log",
33]
28debug = ["defmt-rtt"] 34debug = ["defmt-rtt"]
29 35
30[profile.dev] 36[profile.dev]