aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-mcxa/Cargo.toml')
-rw-r--r--embassy-mcxa/Cargo.toml53
1 files changed, 53 insertions, 0 deletions
diff --git a/embassy-mcxa/Cargo.toml b/embassy-mcxa/Cargo.toml
new file mode 100644
index 000000000..22660bee9
--- /dev/null
+++ b/embassy-mcxa/Cargo.toml
@@ -0,0 +1,53 @@
1[package]
2name = "embassy-mcxa"
3version = "0.1.0"
4edition = "2021"
5license = "MIT OR Apache-2.0"
6description = "Embassy Hardware Abstraction Layer (HAL) for NXP MCXA series of MCUs"
7keywords = ["embedded", "hal", "nxp", "mcxa", "embassy"]
8categories = ["embedded", "hardware-support", "no-std"]
9
10[dependencies]
11cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
12# If you would like "device" to be an optional feature, please open an issue.
13cortex-m-rt = { version = "0.7", features = ["device"] }
14critical-section = "1.2.0"
15defmt = { version = "1.0", optional = true }
16embassy-embedded-hal = "0.5.0"
17embassy-hal-internal = { version = "0.3.0", features = ["cortex-m", "prio-bits-3"] }
18embassy-sync = "0.7.2"
19embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
20embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }
21embedded-hal-async = { version = "1.0" }
22embedded-hal-nb = { version = "1.0" }
23embedded-io = "0.6"
24embedded-io-async = { version = "0.6.1" }
25heapless = "0.8"
26mcxa-pac = { git = "https://github.com/OpenDevicePartnership/mcxa-pac", features = ["rt", "critical-section"], version = "0.1.0" }
27nb = "1.1.0"
28paste = "1.0.15"
29maitake-sync = { version = "0.2.2", default-features = false, features = ["critical-section", "no-cache-pad"] }
30
31# `time` dependencies
32embassy-time = { version = "0.5.0", optional = true }
33embassy-time-driver = { version = "0.2.1", optional = true }
34
35[features]
36default = ["rt"]
37
38# Base defmt feature enables core + panic handler
39# Use with one logger feature: defmt-rtt (preferred) or defmt-uart (fallback)
40defmt = ["dep:defmt", "mcxa-pac/defmt"]
41
42unstable-pac = []
43
44# dummy feature to silence embassy-hal-internal lint
45#
46# This feature makes no change to embassy-mcxa's operation.
47rt = []
48
49# Embassy time
50time = [
51 "dep:embassy-time",
52 "dep:embassy-time-driver",
53]