1 | [package] |
2 | name = "embassy-hal-internal" |
3 | version = "0.2.0" |
4 | edition = "2021" |
5 | license = "MIT OR Apache-2.0" |
6 | description = "Internal implementation details for Embassy HALs. DO NOT USE DIRECTLY." |
7 | repository = "https://github.com/embassy-rs/embassy" |
8 | documentation = "https://docs.embassy.dev/embassy-hal-internal" |
9 | categories = [ |
10 | "embedded" , |
11 | "no-std" , |
12 | "asynchronous" , |
13 | ] |
14 | |
15 | [features] |
16 | |
17 | # Define the number of NVIC priority bits. |
18 | prio-bits-0 = [] |
19 | prio-bits-1 = [] |
20 | prio-bits-2 = [] |
21 | prio-bits-3 = [] |
22 | prio-bits-4 = [] |
23 | prio-bits-5 = [] |
24 | prio-bits-6 = [] |
25 | prio-bits-7 = [] |
26 | prio-bits-8 = [] |
27 | |
28 | cortex-m = ["dep:cortex-m" , "dep:critical-section" ] |
29 | |
30 | [dependencies] |
31 | defmt = { version = "0.3" , optional = true } |
32 | log = { version = "0.4.14" , optional = true } |
33 | |
34 | num-traits = { version = "0.2.14" , default-features = false } |
35 | |
36 | cortex-m = { version = "0.7.6" , optional = true } |
37 | critical-section = { version = "1" , optional = true } |
38 | |