2021-03-07 23:15:40 +00:00
|
|
|
[package]
|
2021-07-29 11:44:51 +00:00
|
|
|
name = "embassy-hal-common"
|
2021-03-07 23:15:40 +00:00
|
|
|
version = "0.1.0"
|
2022-06-18 00:15:48 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-07 23:15:40 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
|
2023-06-09 14:14:13 +00:00
|
|
|
# Define the number of NVIC priority bits.
|
|
|
|
prio-bits-0 = []
|
|
|
|
prio-bits-1 = []
|
|
|
|
prio-bits-2 = []
|
|
|
|
prio-bits-3 = []
|
|
|
|
prio-bits-4 = []
|
|
|
|
prio-bits-5 = []
|
|
|
|
prio-bits-6 = []
|
|
|
|
prio-bits-7 = []
|
|
|
|
prio-bits-8 = []
|
|
|
|
|
|
|
|
cortex-m = ["dep:cortex-m", "dep:critical-section"]
|
|
|
|
|
2021-03-07 23:15:40 +00:00
|
|
|
[dependencies]
|
2021-11-15 16:08:51 +00:00
|
|
|
defmt = { version = "0.3", optional = true }
|
2021-09-10 22:10:46 +00:00
|
|
|
log = { version = "0.4.14", optional = true }
|
2022-07-29 19:58:35 +00:00
|
|
|
|
2021-08-31 12:32:48 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2023-06-09 14:14:13 +00:00
|
|
|
|
|
|
|
cortex-m = { version = "0.7.6", optional = true }
|
|
|
|
critical-section = { version = "1", optional = true }
|