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