diff options
Diffstat (limited to 'embassy-hal-common/Cargo.toml')
| -rw-r--r-- | embassy-hal-common/Cargo.toml | 16 |
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. | ||
| 10 | prio-bits-0 = [] | ||
| 11 | prio-bits-1 = [] | ||
| 12 | prio-bits-2 = [] | ||
| 13 | prio-bits-3 = [] | ||
| 14 | prio-bits-4 = [] | ||
| 15 | prio-bits-5 = [] | ||
| 16 | prio-bits-6 = [] | ||
| 17 | prio-bits-7 = [] | ||
| 18 | prio-bits-8 = [] | ||
| 19 | |||
| 20 | cortex-m = ["dep:cortex-m", "dep:critical-section"] | ||
| 21 | |||
| 9 | [dependencies] | 22 | [dependencies] |
| 10 | defmt = { version = "0.3", optional = true } | 23 | defmt = { version = "0.3", optional = true } |
| 11 | log = { version = "0.4.14", optional = true } | 24 | log = { version = "0.4.14", optional = true } |
| 12 | 25 | ||
| 13 | num-traits = { version = "0.2.14", default-features = false } | 26 | num-traits = { version = "0.2.14", default-features = false } |
| 27 | |||
| 28 | cortex-m = { version = "0.7.6", optional = true } | ||
| 29 | critical-section = { version = "1", optional = true } \ No newline at end of file | ||
