diff options
| author | Vincent Stakenburg <[email protected]> | 2022-06-30 14:45:59 +0200 |
|---|---|---|
| committer | Vincent Stakenburg <[email protected]> | 2022-06-30 14:56:36 +0200 |
| commit | 0e55bb2a208f7038fe15567166e9655abe5480df (patch) | |
| tree | 58f1f5c0c5fb87abd78d7a56eb03bf5b84248c8b /embassy-boot | |
| parent | 7b47bea72cf476639509e1f4c338a9dd0953db4a (diff) | |
add log feature to embassy-boot-stm32
Diffstat (limited to 'embassy-boot')
| -rw-r--r-- | embassy-boot/stm32/Cargo.toml | 6 |
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] |
| 10 | defmt = { version = "0.3", optional = true } | 10 | defmt = { version = "0.3", optional = true } |
| 11 | defmt-rtt = { version = "0.3", optional = true } | 11 | defmt-rtt = { version = "0.3", optional = true } |
| 12 | log = { version = "0.4", optional = true } | ||
| 12 | 13 | ||
| 13 | embassy = { path = "../../embassy", default-features = false } | 14 | embassy = { path = "../../embassy", default-features = false } |
| 14 | embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] } | 15 | embassy-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 | ] |
| 29 | log = [ | ||
| 30 | "dep:log", | ||
| 31 | "embassy-boot/log", | ||
| 32 | "embassy-stm32/log", | ||
| 33 | ] | ||
| 28 | debug = ["defmt-rtt"] | 34 | debug = ["defmt-rtt"] |
| 29 | 35 | ||
| 30 | [profile.dev] | 36 | [profile.dev] |
