From 181c2bdc7ba96f6fa9c5dc7f4c840264b0e9d40a Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 14 Feb 2025 16:25:09 +0100 Subject: [PATCH] defmt in PAC is optional --- va108xx/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/va108xx/Cargo.toml b/va108xx/Cargo.toml index cc0414f..20573b7 100644 --- a/va108xx/Cargo.toml +++ b/va108xx/Cargo.toml @@ -13,7 +13,7 @@ categories = ["embedded", "no-std", "hardware-support"] [dependencies] cortex-m = "0.7" vcell = "0.1.3" -defmt = "0.3" +defmt = { version = "0.3", optional = true } critical-section = { version = "1", optional = true } [dependencies.cortex-m-rt] @@ -22,8 +22,6 @@ version = ">=0.6.15,<0.8" [features] rt = ["cortex-m-rt/device"] -# Adds defmt support -defmt = [] # Adds Debug implementation debug = []