summaryrefslogtreecommitdiff
path: root/embassy-boot
diff options
context:
space:
mode:
authorVincent Stakenburg <v.stakenburg@cosinuss.nl>2022-06-30 14:45:59 +0200
committerVincent Stakenburg <v.stakenburg@cosinuss.nl>2022-06-30 14:56:36 +0200
commit0e55bb2a208f7038fe15567166e9655abe5480df (patch)
tree58f1f5c0c5fb87abd78d7a56eb03bf5b84248c8b /embassy-boot
parent7b47bea72cf476639509e1f4c338a9dd0953db4a (diff)
downloadembassy-0e55bb2a208f7038fe15567166e9655abe5480df.zip
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 1b6eeef9..13ae54b3 100644
--- a/embassy-boot/stm32/Cargo.toml
+++ b/embassy-boot/stm32/Cargo.toml
@@ -9,6 +9,7 @@ description = "Bootloader lib for STM32 chips"
[dependencies]
defmt = { version = "0.3", optional = true }
defmt-rtt = { version = "0.3", optional = true }
+log = { version = "0.4", optional = true }
embassy = { path = "../../embassy", default-features = false }
embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] }
@@ -25,6 +26,11 @@ defmt = [
"embassy-boot/defmt",
"embassy-stm32/defmt",
]
+log = [
+ "dep:log",
+ "embassy-boot/log",
+ "embassy-stm32/log",
+]
debug = ["defmt-rtt"]
[profile.dev]