aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-hal-common/Cargo.toml')
-rw-r--r--embassy-hal-common/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/embassy-hal-common/Cargo.toml b/embassy-hal-common/Cargo.toml
index e8617c02f..18c758d7b 100644
--- a/embassy-hal-common/Cargo.toml
+++ b/embassy-hal-common/Cargo.toml
@@ -6,8 +6,24 @@ license = "MIT OR Apache-2.0"
6 6
7[features] 7[features]
8 8
9# Define the number of NVIC priority bits.
10prio-bits-0 = []
11prio-bits-1 = []
12prio-bits-2 = []
13prio-bits-3 = []
14prio-bits-4 = []
15prio-bits-5 = []
16prio-bits-6 = []
17prio-bits-7 = []
18prio-bits-8 = []
19
20cortex-m = ["dep:cortex-m", "dep:critical-section"]
21
9[dependencies] 22[dependencies]
10defmt = { version = "0.3", optional = true } 23defmt = { version = "0.3", optional = true }
11log = { version = "0.4.14", optional = true } 24log = { version = "0.4.14", optional = true }
12 25
13num-traits = { version = "0.2.14", default-features = false } 26num-traits = { version = "0.2.14", default-features = false }
27
28cortex-m = { version = "0.7.6", optional = true }
29critical-section = { version = "1", optional = true } \ No newline at end of file