Browse Source

Activate heapless/defmt if defmt is activated

datdenkikniet 2 years ago
parent
commit
db87f0f603
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Cargo.toml

+ 1 - 0
Cargo.toml

@@ -36,6 +36,7 @@ url = "2.0"
 std = ["managed/std", "defmt?/alloc"]
 alloc = ["managed/alloc", "defmt?/alloc"]
 verbose = []
+defmt = [ "dep:defmt", "heapless/defmt", "heapless/defmt-impl" ]
 "medium-ethernet" = ["socket"]
 "medium-ip" = ["socket"]
 "medium-ieee802154" = ["socket", "proto-sixlowpan"]