defmt in PAC is optional
This commit is contained in:
parent
2bca96b5db
commit
181c2bdc7b
@ -13,7 +13,7 @@ categories = ["embedded", "no-std", "hardware-support"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.7"
|
cortex-m = "0.7"
|
||||||
vcell = "0.1.3"
|
vcell = "0.1.3"
|
||||||
defmt = "0.3"
|
defmt = { version = "0.3", optional = true }
|
||||||
critical-section = { version = "1", optional = true }
|
critical-section = { version = "1", optional = true }
|
||||||
|
|
||||||
[dependencies.cortex-m-rt]
|
[dependencies.cortex-m-rt]
|
||||||
@ -22,8 +22,6 @@ version = ">=0.6.15,<0.8"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
rt = ["cortex-m-rt/device"]
|
rt = ["cortex-m-rt/device"]
|
||||||
# Adds defmt support
|
|
||||||
defmt = []
|
|
||||||
# Adds Debug implementation
|
# Adds Debug implementation
|
||||||
debug = []
|
debug = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user