aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-12-04 19:24:06 +0100
committerJames Munns <[email protected]>2025-12-04 19:24:06 +0100
commit85b92010deb835d27ce30ec0870cdedadf4465ec (patch)
tree8a7474daa8aadad67d7b0a0f4cbd42b841b00442 /embassy-mcxa
parente7e4d0e03f6ccee7a8577058bfccefaf92b2689e (diff)
Tweak how target setting is handled
Diffstat (limited to 'embassy-mcxa')
-rw-r--r--embassy-mcxa/.cargo/config.toml2
-rw-r--r--embassy-mcxa/Cargo.toml6
2 files changed, 6 insertions, 2 deletions
diff --git a/embassy-mcxa/.cargo/config.toml b/embassy-mcxa/.cargo/config.toml
deleted file mode 100644
index 55dd5ea5f..000000000
--- a/embassy-mcxa/.cargo/config.toml
+++ /dev/null
@@ -1,2 +0,0 @@
1[build]
2target = "thumbv8m.main-none-eabihf" # Cortex-M33
diff --git a/embassy-mcxa/Cargo.toml b/embassy-mcxa/Cargo.toml
index 5ff6d313c..a2662f424 100644
--- a/embassy-mcxa/Cargo.toml
+++ b/embassy-mcxa/Cargo.toml
@@ -9,6 +9,12 @@ keywords = ["embedded", "hal", "nxp", "mcxa", "embassy"]
9categories = ["embedded", "hardware-support", "no-std"] 9categories = ["embedded", "hardware-support", "no-std"]
10documentation = "https://docs.embassy.dev/embassy-mcxa" 10documentation = "https://docs.embassy.dev/embassy-mcxa"
11 11
12[package.metadata.embassy]
13build = [
14 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "time", "unstable-pac"]},
15 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "time", "unstable-pac"]},
16]
17
12[dependencies] 18[dependencies]
13cortex-m = { version = "0.7", features = ["critical-section-single-core"] } 19cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
14# If you would like "device" to be an optional feature, please open an issue. 20# If you would like "device" to be an optional feature, please open an issue.