add log feature to embassy-boot-stm32
This commit is contained in:
parent
7b47bea72c
commit
0e55bb2a20
1 changed files with 6 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue