aboutsummaryrefslogtreecommitdiff
path: root/embassy-nxp
diff options
context:
space:
mode:
authori509VCB <[email protected]>2025-06-25 22:56:11 -0500
committeri509VCB <[email protected]>2025-07-08 16:38:17 -0500
commit6609a85f3ce941ef07e471e56981a819b17e9303 (patch)
treeac4a3496617de64b3fac069e8f3e390d19ff115f /embassy-nxp
parentdea59b1e6f63d943ab0bd3ddcf4dc18e72340770 (diff)
nxp: add feature for lpc55
this is needed since I will be working on adding support for the MCX families to embassy-nxp Co-authored-by: IriniaCh524 <[email protected]>
Diffstat (limited to 'embassy-nxp')
-rw-r--r--embassy-nxp/Cargo.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/embassy-nxp/Cargo.toml b/embassy-nxp/Cargo.toml
index 426af06a0..010607914 100644
--- a/embassy-nxp/Cargo.toml
+++ b/embassy-nxp/Cargo.toml
@@ -9,12 +9,18 @@ cortex-m-rt = "0.7.0"
9critical-section = "1.1.2" 9critical-section = "1.1.2"
10embassy-hal-internal = { version = "0.2.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-2"] } 10embassy-hal-internal = { version = "0.2.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-2"] }
11embassy-sync = { version = "0.7.0", path = "../embassy-sync" } 11embassy-sync = { version = "0.7.0", path = "../embassy-sync" }
12lpc55-pac = "0.5.0"
13defmt = { version = "1", optional = true } 12defmt = { version = "1", optional = true }
14 13
14## Chip dependencies
15lpc55-pac = { version = "0.5.0", optional = true }
16
15[features] 17[features]
16default = ["rt"] 18default = ["rt"]
17rt = ["lpc55-pac/rt"] 19# Enable PACs as optional dependencies, since some chip families will use different pac crates.
20rt = ["lpc55-pac?/rt"]
18 21
19## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers. 22## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers.
20defmt = ["dep:defmt", "embassy-hal-internal/defmt", "embassy-sync/defmt"] 23defmt = ["dep:defmt", "embassy-hal-internal/defmt", "embassy-sync/defmt"]
24
25#! ### Chip selection features
26lpc55 = ["lpc55-pac"]